Ok, so I was right the first time. It think it's past everyone's bedtime. :)
On Fri, Apr 30, 2010 at 5:49 PM, Douglas Philips <[email protected]> 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 <[email protected]> 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]) > > -Doug > > -- > 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]<clojure%[email protected]> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- 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 at http://groups.google.com/group/clojure?hl=en
