satyr / coco

Unfancy CoffeeScript
http://satyr.github.com/coco/
MIT License
498 stars 48 forks source link

bound destructuring #209

Open aeosynth opened 11 years ago

aeosynth commented 11 years ago

eg {a} = b~ -> a = b~a

satyr commented 11 years ago

The marker would have to be on LHS. E.g.:

{~m, p: {q, ~n}} = o <=> m = o~m; q = o.p.q; n = o.p~n