On Tuesday, August 21, 2012 2:22:39 PM UTC+3, Tassilo Horn wrote: > > Jonas <jonas....@gmail.com <javascript:>> writes: > > > `:while` on the other hand ends the list comprehension when the test > > evaluates to false (or nil) and returns the sequence generated thus > > far. > > No, it's perfectly possible to have a comprehension with a :while that > generates more elements after :while evaluated to false. :while skips > some bindings, but it doesn't need to skip all of them. See my original > reply to Nicolas. >
Thanks for pointing that out. I realize now that my understanding of the `for` macro is not complete. I wonder if complex `for`-expressions hurt code readability or is the alternative (using map+filter) even more complicated? > > Bye, > Tassilo > -- 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