According to the website:

sequence To create a sequence from the application of a transducer to an
input collection, use sequence
<http://clojure.github.io/clojure/branch-master/clojure.core-api.html#clojure.core/sequence>
:

(sequence xf (range 1000))

The resulting sequence elements are incrementally computed. These sequences
will consume input incrementally as needed and fully realize intermediate
operations. This behavior differs from the equivalent operations on lazy
sequences.


Can someone please clarify: how does this behavior differ from the
equivalent operations on lazy sequences?  It seems to me that lazy
sequences can also be described as consuming input incrementally and fully
realizing intermediate operations.  So what's the difference?

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