Hi,
http://dev.clojure.org/jira/browse/CLJ-916 reports that into loses
metadata; it is marked closed and fixed in 1.5. However, into still seems
to be losing metadata. The relevant code from 1.7-alpha6 (core.clj) is:
(if (instance? clojure.lang.IEditableCollection to)
(with-meta (persistent! (reduce conj! (transient to) from)) (meta
to))
What I need is something like
(if (instance? clojure.lang.IEditableCollection to)
(with-meta (persistent! (reduce conj! (transient to) from)) (merge
(meta to) (meta from))
Did the fix get lost, or is there a problem with changing into's handling
of metadata?
Thanks,
Greggg
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.