1.3.0 permalink Arrow_down_16x16

munge

clojure.core

  • (munge s)

1 Example top

  • user> (defn foo [] (println "foo"))
    #'user/foo
    
    user> foo
    #<user$foo user$foo@a0dc71>
    
    user> (munge foo)
    "user_DOLLARSIGN_foo_CIRCA_a0dc71"
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core_deftype.clj:115 top

(defn munge [s]
  ((if (symbol? s) symbol str) (clojure.lang.Compiler/munge (str s))))
Vars in clojure.core/munge:
Used in 0 other vars

Comments top

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