There is something that confuses me:
user=> (cycle [])
()

user=> (= (cycle []) ())
true
user=> (= (cycle []) nil)
true
user=> (= () nil)
false

Thanks for answering, Frantisek


On Feb 18, 3:54 am, Rich Hickey <richhic...@gmail.com> wrote:
> On Feb 17, 4:16 pm, Frantisek Sodomka <fsodo...@gmail.com> wrote:
>
> > That was fast! ;-)
>
> > Rich, I am porting test_clojure and old 'cycle' worked as:
> > (cycle []) => nil
>
> > Currently:
> > (cycle []) => java.lang.StackOverflowError
>
> Fixed in svn 1290 - thanks for the report.
>
> Rich
--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to