ponylang / pony-tutorial

:horse: Tutorial for the Pony programming language
http://tutorial.ponylang.io
BSD 2-Clause "Simplified" License
308 stars 111 forks source link

Document return-type polymorphism in FFI #508

Closed ergl closed 2 years ago

ergl commented 2 years ago

This documents the new feature to be introduced in https://github.com/ponylang/ponyc/pull/4060, so this shouldn't be merged until that becomes available in a release.

ergl commented 2 years ago

@redvers Let me know if this new section would have helped you with your issues. It doesn't cover generics since the interplay between that and FFI is a bit complicated from the type checking perspective.