How get function name in body?

2021-04-28 Thread damon kwok
How get function name in body? (defn add [a b] ;; how get "add" here? (+ a b)) -- 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 b

Re: How get function name in body?

2021-04-29 Thread damon kwok
Clojure 1.10.1 (defn haha [] (println (demunge (.getName (.getCallerClass (java.lang.StackWalker/getInstance java.lang.StackWalker$Option/RETAIN_CLASS_REFERENCE)) Syntax error compiling at (REPL:1:23). Unable to resolve symbol: demunge in this context 在2021年4月30日星期五 UTC+8 上