On Jun 13, 9:24 pm, James Reeves <weavejes...@googlemail.com> wrote: > On Jun 13, 4:18 am, Wrexsoul <d2387...@bsnow.net> wrote: > > > Between files-and-dirs and file-lines-seq I think I have saved as many > > lines of code as are in the macro+helper fns, so those are at break- > > even. > > I'm not completely sure what benefit super-lazy-seq is meant to have. > Could you perhaps give an example written with lazy-seq, and show how > super-lazy-seq improves on it?
It lets you write the generator in a style similar to loop/recur, and generally in half the code. And, it demonstrates the kinds of things you can do with macros. > Also, how does files-and-dirs differ from clojure.core/file-seq? Is file-seq recursive? I'd figured it just returned the flat contents of a directory. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---