I have not checked the second edition yet, but when I read JoC, my
understanding was that seq is used specifically for an object that
implements ISeq and is used as such (i.e. by calling first and rest on it)
while sequence denotes any ordered collection.

Under this interpretation, they are not interchangeable: seqs are not
collections, so they can't be sequences, and sequences are not seqs (though
most of them can be turned into seqs). Some non-sequences may also be
converted to seqs.

Map, filter et al. were thus defined as taking seqs as arguments, although
they converted if needed.

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