I think this should work.  You should file an issue if there is
none yet.

On Thu, 2016-02-11 at 02:18, [email protected] wrote:
> 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