demunge

clojure.repl

  • (demunge fn-name)
Given a string representation of a fn class,
as in a stack trace element, returns a readable version.

1 Example top

  • user=> (-> + class str demunge)
    "class clojure.core/+"
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/repl.clj:210 top

(defn demunge
  "Given a string representation of a fn class,
  as in a stack trace element, returns a readable version."
  {:added "1.3"}
  [fn-name]
  (re-replace demunge-pattern fn-name demunge-map))
Vars in clojure.repl/demunge:
Used in 0 other vars

Comments top

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