This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-07
Channels
- # beginners (71)
- # boot (25)
- # cider (204)
- # clara (18)
- # cljs-dev (10)
- # cljsrn (64)
- # clojure (50)
- # clojure-dev (2)
- # clojure-dusseldorf (1)
- # clojure-india (5)
- # clojure-italy (1)
- # clojure-nl (21)
- # clojure-poland (65)
- # clojure-spec (41)
- # clojure-uk (10)
- # clojurescript (4)
- # core-async (5)
- # cursive (2)
- # datomic (17)
- # duct (8)
- # emacs (8)
- # fulcro (1)
- # graphql (21)
- # hoplon (2)
- # javascript (3)
- # lumo (25)
- # mount (5)
- # off-topic (5)
- # onyx (3)
- # portkey (6)
- # re-frame (15)
- # reagent (5)
- # rum (1)
- # shadow-cljs (198)
- # spacemacs (19)
- # specter (2)
Has anyone written a data structure walker that traverses through possibly-nested collections, that converts non-Clojure lists, sets, maps, etc. into their Clojure persistent counterparts? I can imagine someone might have wanted to write such a function at a Java interop boundary, to avoid issues with hash being inconsistent with = between Clojure and non-Clojure collections (i.e., https://dev.clojure.org/jira/browse/CLJ-1372 )
I know that something like that should be fairly straightforward with clojure.walk/postwalk-replace -- I am mainly asking in case someone knows of something battle-tested and open source I could link to, vs. writing and testing one.