2 ms·
As interpol_p says tuples are available. It is also quite possible to return a function or other closure so a generator function is definitely possible. The re
by josephlord 12y ago
As interpol_p says tuples are available. It is also quite possible to return a function or other closure so a generator function is definitely possible.
The return type does have to be defined though so there isn't a way to have a variable return type. I suppose you could return something of "Any" type but would you really want to?