elena-lang icon indicating copy to clipboard operation
elena-lang copied to clipboard

Multi-value return

Open arakov opened this issue 4 years ago • 0 comments

The language should support multi-value return, Tuple<T1,...> template should be used. Something like this

singleton Helper
{
       (int, string) getPair()
             = (1, "abc");   
}

arakov avatar Jul 29 '20 07:07 arakov