On Tue, Jun 23, 2009 at 5:15 PM, Stephen C. Gilardi<squee...@mac.com> wrote: > > On Jun 23, 2009, at 2:07 PM, Chouser wrote: > >> >> 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 > > Along these lines, please see also: > > http://groups.google.com/group/clojure/browse_frm/thread/5e665ce7a318f44a/158419414f9150a0?lnk=gst&q=%3Ainfinity#158419414f9150a0
Gah, I stole your idea! And your name was better, too. Sorry about that, --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 -~----------~----~----~----~------~----~------~--~---