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
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=>
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 (