Re: Why pass bindings as vector

2009-02-24 Thread Chouser
On Tue, Feb 24, 2009 at 4:15 PM, Joshua Fox wrote: > Why do many core macros pass bindings as a vector, then destructure them in > various ways into symbols and values. > This is instead of just providing the symbol and value, e.g., > (defmacro my-macro >   [s v & body] >     `(let [~s ~v]  .

Why pass bindings as vector

2009-02-24 Thread Joshua Fox
Why do many core macros pass bindings as a vector, then destructure them in various ways into symbols and values. This is instead of just providing the symbol and value, e.g., (defmacro my-macro [s v & body] `(let [~s ~v] ... In at least five macros in core.clj, this was changed recent