Multiple return types from function


#21

You are thinking about tuples I guess. There are already implementations for Pair and Triple in kotlin. If you need more you can simply define them yourself, but using more than 3 values without naming them might get complicated and confusing real fast.
I’m not sure that there is a need for a special syntax there. I would love to see them converted to value types if we ever get project valhalla (probably it’s not as easy as just changing it due to binary compatibility but that’s not important here).