>> Here is my function: >> (defn json-seq [] >> (apply concat >> (map #(do (print "f") (str/split (slurp %) #"\nStatusJSONImpl")) >> out-files))) > > Try removing the "apply concat" at the front, I'm pretty sure that's > making your sequence non-lazy.
Correct me if I'm wrong but that should only apply to the list of list that concat is supposed to be concatenating; the contents of *those* lists would still be lazy (if the original list was lazy to begin with). -- / Peter Schuller -- 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