Nope, this is the standard way to convert between tuples and arrays.

Usually, if you have an array, you should stick with the array and not convert 
to a tuple.

 — John

On Jan 30, 2014, at 7:05 AM, Linus Mellberg <[email protected]> wrote:

> Is there a "good" way to create tuples from arrays? The best I've come up 
> with is 
> function make_tuple(a...)
>     return a
> end
> 
> make_tuple({1, 2, 3}...)
> 
> I feel that there should be a better way.

Reply via email to