• (unmunge name)
Converts a javafied name to a clojure symbol name

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/util/clojure.clj:3 top

(defn unmunge
  "Converts a javafied name to a clojure symbol name"
  ([#^String name]
     (reduce (fn [#^String s [to from]]
               (.replaceAll s from (str to)))
             name
             clojure.lang.Compiler/CHAR_MAP)))
Vars in swank.util.clojure/unmunge: defn fn name reduce str
Used in 0 other vars

Comments top

No comments for unmunge. Log in to add a comment.