Hello,

I am a little bit confused, is this supposed to work some how? When a function returns a tuple, can I somehow add each element of this tuple to a separate variable without temp allocations? Something like this:

f(x) = 2x, 3x A = 1 B = 2 A, B .+= f(3)

I expect A = 7 and B = 11 afterwards.

A = 7

B = 11

Thanks

This is A,B .= (A,B) .+ f(3) but the RHS already returns a Tuple, so .= is wrong. What you want is: A,B = (A,B) .+ f(3)

A,B .= (A,B) .+ f(3)

.=

A,B = (A,B) .+ f(3)

Thanks, I have forgotten to answer to you. It does not look that concise but of course this syntax is consistent with what I want it to do