On Sunday, June 12, 2016 at 1:15:23 AM UTC-5, Fluid Dynamics wrote:
>
>
> All of that is very interesting, but then, by your own arguments (pop (seq 
> '(1 2 3))) should *not* work. 
>

>From you prior post, I think you might be confused about what "seq" does as 
it doesn't "wrap" anything - it just asks the input to return a sequence. 
Different kinds of inputs have different ways of providing the sequence.

In this case, '(1 2 3) is a list. Lists are collections. However, lists are 
also sequences (whereas other collections produce a sequence view over the 
collection), so (seq '(1 2 3)) just returns '(1 2 3). As mentioned, pop is 
defined on lists.


-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to