On Fri, Apr 30, 2010 at 12:25 PM, Mark J. Reed <markjr...@gmail.com> wrote:
> I got an error when I tried ([a b]) instead of (list [a b]), by the way: > > Clojure 1.1.0 > user=> (cons [1 2] ([3 4])) > java.lang.IllegalArgumentException: Wrong number of args passed to: > PersistentVector (NO_SOURCE_FILE:0) > To be clear, that's because vectors are functions on their indices; I meant to explain why I had to use the (list) form. -- Mark J. Reed <markjr...@gmail.com> -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en