Hi Bruce, That doc page used pre-1.0 Clojure code, which, as you saw, doesn't work. Thanks for the catch, I have fixed the docs on the site.
Stu > Steve and Jon, > > On Mon, Jun 7, 2010 at 12:43, Steve Purcell <st...@sanityinc.com> wrote: >> Empty seqs are logically true, so your "if" condition is always true. >> > > I was looking at that today too. I did (> 0 (count my-list)) in my if > statement to fix it. > > Is the Recursive Looping example on > > http://clojure.org/functional_programming > > wrong then? > > cheers, > Bruce -- 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