You can normally do

z = (1,2,3)
(a,b,c)  = z

and it will unpack things from z into a,b,c.
However, if you do:

let (a,b,c) = z; a end

it's a syntax error. Is there a way to get the spirit of this unpacking 
inside a let statement? I don't want permanent assignment in the function 
(I already get how to do that).
Eg: let a=nothing,b=nothing,c=nothing; (a,b,c) = z; a end seems like a bad 
choice. There must be some other way....

Thanks!
Vishesh

Reply via email to