On Tue, Jun 23, 2009 at 1:09 PM, CuppoJava<patrickli_2...@hotmail.com> wrote: > > (iterate inc 0)
Just riffing here, but what if range took some kind of sentinel to indicate an infinite range? So instead of (iterate inc 0), you could say (range 0 :forever). Then that would also allow: (range 0 :forever 2) ; even numbers (range 1 :forever 2) ; odd numbers --Chouser --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---