Arc Forumnew | comments | leaders | submitlogin
1 point by tokipin 6117 days ago | link | parent

ah, didn't know you could do that. thanks


1 point by absz 6117 days ago | link

To be fair, that example would be more simply written

  (def mag ((x y))
    (expt (+ (* x x) (* y y)) 1/2))
, but destructuring in let does have real uses.

-----