You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is mostly sugar, but is one of the parts I like a lot about languages like Go and Python, and it would not take a lot of work to support it for all target languages.
It is also closely related to "composite types" which have been discussed in #160. If we make those first, multiple return values could automatically be wrapped in composite types and returned from multi-return functions.
The text was updated successfully, but these errors were encountered:
Well, if we go for composite types, I would not do anything automatically but rather allow function to return composite types explicitly. But we of course need constructors and accessors for thos composite types.
This is mostly sugar, but is one of the parts I like a lot about languages like Go and Python, and it would not take a lot of work to support it for all target languages.
It is also closely related to "composite types" which have been discussed in #160. If we make those first, multiple return values could automatically be wrapped in composite types and returned from multi-return functions.
The text was updated successfully, but these errors were encountered: