The current
DESTRUCTURING-BIND could be much more useful if you could pull apart objects and arrays. CoffeeScript has a great mechanism for this (
http://coffeescript.org/#destructuring). Below is an example of what this macro might look like in parenscript. Let me know your thoughts.
David
(d-bind (:obj name (:obj firstname lastname)
likes (:arr first-like second-like))
(create :name (create :firstname "Joe" :lastname "Blo")
:occupation "Web Developer"
:likes '("programming" "woodworking" "cycling"))
(alert (+ "Your name is " firstname " and you like " first-like)))