much thanks for the insight-giving answers from you all............ On Apr 30, 12:29 pm, "Mark J. Reed" <[email protected]> wrote: > On Fri, Apr 30, 2010 at 12:25 PM, Mark J. Reed <[email protected]> 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 <[email protected]> > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/clojure?hl=en
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
