On Wednesday, October 8, 2014 8:16:38 PM UTC-4, James Reeves wrote:
>
> The words "seq" and "sequence" can be used interchangeably.
>
> The "map" and "filter" functions return seqs.
>
> Yes, a seq may be lazy, but vectors and lists cannot.
>
> "seqable" means any data structure that can be turned into a seq using the 
> "seq" function. This includes the Clojure collections, but also strings, 
> arrays and Java collections.
>
> The Sequential interface is a way of indicating a collection has a natural 
> order. So seqs, lists and vectors are sequential, but maps and sets are not.
>

Oddly, this seems to include sorted maps and sorted sets 
(clojure.lang.PersistentTreeFoo), even though those do have a natural order 
(unlike their PersistentHashFoo brethren). 

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