Re: [julia-users] Creating Tuples from arrays

2014-01-30 Thread Jacob Quinn
There already is the tuple function, so you don't really need your own. In [7]: tuple([1,2,3]...) Out [7]: (1,2,3) On Thu, Jan 30, 2014 at 10:33 AM, John Myles White johnmyleswh...@gmail.com wrote: Nope, this is the standard way to convert between tuples and arrays. Usually, if you

[julia-users] Creating Tuples from arrays

2014-01-30 Thread Linus Mellberg
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.