Fork me on GitHub
#specter
<
2018-12-31
>
johanatan21:12:27

hi, is it possible to collect two levels of map keys in the process of navigating to a third level in a nested map ?

johanatan21:12:09

so, i have {:a {:b {:c :d}}} and i want to map/`transform` over {:c :d} but while retaining the context [:a :b].

johanatan21:12:48

(specter/collect specter/MAP-KEYS specter/MAP-KEYS) gives the error "Don't know how to create ISeq from clojure.lang.Keyword".

johanatan21:12:08

thanks in advance!