-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 if i got it right, filter/remove and map (basically all batch transform functions) return lazy sequences. to convert them to real collections again, i do (vec lazyseq) in case i want the result to be stored in a vector.
correct? what happens if i traverse the lazy sequence more than once? is the result cached like in a scala stream, or is a lazy seq in clojure similar to a view in scala that is calculated each time it's traversed? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJOmHZiAAoJENRtux+h35aGHYIQAKeYGf6BEsBVvlTbxF0NEiM2 O9u8jPnUwpRcqsoslROX8YCKpTjppnG/YpaGI98OkZXPLXK6f3JDo60gV6oF143L mntpi1RrQ3DDPFfFzsSGpK1k/eoqaR+E6dOeWOeC/FkGjotjaDN4KlJp9PsdaAmZ 2atZX2Nr8Ock+gRnteupJEbWPJ5kbPm0W/cYojnCGKgPcxTZ67BFEnpTtWfYzPGC v5vn8+OP/dw5kwAgnvQoSl4AVB7BkGFL4dDeKeayR6MstLKlfl8mJeecliZlc4iy rbMWIu5rHJGYyFDnejzbubfwSkYUrCtfMjvD4Zz69ArTLOrWtKKe+WDFFawi0QeM gYleGeFPhX9adHF/uyojDljy+LhnX65+2Q5fnUXTa5+QX0F3oxrCs9C0lPJwmYpy HplJrh7YoeHRXSh/vlBm5Y8FMaIwW2mCn7SmdldHZz0TrURwQaD8hUwgNl6fMPgO YOe2lopReZofT7jdR40fhtGakv/+RFwhgDZY66zp13b5ab79uhMrt0jMG3pHHwgs 2bBeZol2V+RsROXi2aVOBPrRQWpVDWxQn4Ky/0PV5QjapqTNe/2ZDxtCM7O4acqf 9f7XoY1tWYhWNCCkHtl9VvkqQJtgeJdkODd4+ksu1hhg70JfE++q4Drml31wOpNo 3vCvGa1fsATKhsbzc9zi =sU9o -----END PGP SIGNATURE----- -- 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