Fork me on GitHub
#specter
<
2018-12-21
>
nathanmarz00:12:37

@idiomancy you could use walker

nathanmarz00:12:59

(defn target? [o] (and (map? o) (= 1 (count o)) (#{:S :N} (-> o first first))))
(transform (walker target?) #(-> % last last) data)

idiomancy00:12:37

hahaha, you bloody wizard you! let me try it out

wizard 4
nathanmarz00:12:23

using cond-path you could do it more precisely

nathanmarz00:12:27

definitely an annoying data format