Fork me on GitHub

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., )


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.