Re: bug: clojure.walk removes all the metadata

2010-07-21 Thread Pedro Teixeira
On Jul 21, 9:59 pm, Pedro Teixeira wrote: > On Jun 22, 6:23 pm, Krešimir Šojat wrote: > > > While traversing the data structure both prewalk and postwalk remove > > all the metadata: > > > user=> (require '[clojure.walk :as w]) > > nil > > user=> (def data {:a ^{:a :this-is-a} [1 2 3]}) > > #'use

Re: bug: clojure.walk removes all the metadata

2010-07-21 Thread Pedro Teixeira
On Jun 22, 6:23 pm, Krešimir Šojat wrote: > While traversing the data structure both prewalk and postwalk remove > all the metadata: > > user=> (require '[clojure.walk :as w]) > nil > user=> (def data {:a ^{:a :this-is-a} [1 2 3]}) > #'user/data > user=> (meta (:a data)) > {:a :this-is-a} > user=>

bug: clojure.walk removes all the metadata

2010-06-22 Thread Krešimir Šojat
While traversing the data structure both prewalk and postwalk remove all the metadata: user=> (require '[clojure.walk :as w]) nil user=> (def data {:a ^{:a :this-is-a} [1 2 3]}) #'user/data user=> (meta (:a data)) {:a :this-is-a} user=> (meta (:a (w/postwalk identity data))) nil user=> (meta (:a (