Common Lisp the Language 2nd Edition


next up previous contents index
Next: Compiler Macros Up: Macros Previous: Macro Expansion

8.3. Destructuring

change_begin
X3J13 voted in March 1989 (DESTRUCTURING-BIND)   to make the destructuring feature of defmacro available as a separate facility.


[Macro]

destructuring-bind lambda-list expression {declaration}* {form}*

This macro binds the variables specified in lambda-list to the corresponding values in the tree structure resulting from evaluating the expression values in the tree structure resulting from evaluating the expressioncorresponding>}*xt_motif.gif">