Adding meta data to a lazy cons throws an NPE in line 44 of
LazyCons.java:

(let [lazycons (map identity (range 10))]
     (with-meta lazycons {:a 1}))

It appears that when the LazyCons(IPersistentMap meta, Object first,
ISeq rest) constructor is used, the supplied first and rest are
ignored, and field f is null, so a call to first() fails by invoking f.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to