Are the square brackets in Clojure's defn, defmacro and binding really a vector?

Posted by Michiel Borkent on Stack Overflow See other posts from Stack Overflow or by Michiel Borkent
Published on 2010-03-29T18:17:46Z Indexed on 2010/03/29 18:53 UTC
Read the original article Hit count: 202

Filed under:
|
|

Are the square brackets around arguments in Clojure's defn, defmacro and binding (am I forgetting some?) really creating a vector or is it just a matter of syntax, making the arguments stand out from the rest?

I'm reading Clojure in Action which states:

Clojure uses vectors to denote function arguments or binding forms.

which made me ask this question here.

© Stack Overflow or respective owner

Related posts about clojure

Related posts about syntax