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 <[email protected]> wrote:
> On Feb 17, 4:16 pm, Frantisek Sodomka <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to