On 30 April 2010 23:49, Douglas Philips <d...@mac.com> wrote: > On 2010 Apr 30, at 5:45 PM, Mark J. Reed wrote: >> >> Of course. Which is what I would have done automatically with a >> Lispier construct. Just still not used to seeing literal vectors as >> functions. :) >> >> On Friday, April 30, 2010, Michael Wood <esiot...@gmail.com> wrote: >>> >>> Well, you didn't *have* to call list. You could have quoted the literal >>> list: >>> >>> (defn pairup >>> ([a b] '([a b])) >>> ([a b & rest] (cons [a b] (apply pairup rest)))) > > Hmmm, that quotes the entire form: > user=> '([a b]) > ([a b])
Ouch. Of course. Must be past my bed time :) -- Michael Wood <esiot...@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