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 <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])
>
> -Doug
>
> --
> 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<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>



-- 
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

Reply via email to