On Jan 3, 2013 6:24 AM, "Leonardo Borges" <[email protected]>
wrote:
> As you can see, when using macroexpand-1, the type of the arg is
> clojure.lang.PersistentList.
>
> However, when actually executing the macro, the type is clojure.lang.Cons
>
> Is this behaviour expected?

Yes. Last thread here:
http://thread.gmane.org/gmane.comp.java.clojure.user/66294 ; search for
further threads on the seq* trichotomy.

tl;dr don't use 'list?'.

--
Stephen Compall
If anyone in the MSA is online, you should watch this flythrough.

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

Reply via email to