adrian-thurston / colm

The Colm Programming Language
MIT License
164 stars 31 forks source link

add multiple return values #118

Open adrian-thurston opened 4 years ago

adrian-thurston commented 4 years ago

Often need to use output parameters to get the safe results. Multiple return values would be a useful addition.

This could also cover the case of returning error from a parse, which at present uses a global variable to return the error.