Hi,

or just use the class name, which is what the stacktrace gives you anyway.

user=> (class (fn [x] x))
user$eval1$fn__2
user=> (class (fn foo [x] x))
user$eval5$foo__6
user=> (defn bar [x] x)
#'user/bar
user=> (class bar)
user$bar
user=> (defn frob [f] (prn (class f)))
#'user/frob
user=> (frob (fn [x] x))
user$eval13$fn__14
nil
user=> (frob (fn foo [x] x))
user$eval17$foo__18
nil
user=> (frob bar)
user$bar
nil

Sincerely
Meikel

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to