我正在学习clojure中的宏。我需要在宏中的符号解析帮助。the global variable as an argument to the macro, although it's visible in the other case
错误消息是class clojure.lang.Symbolcannot be cast to class java.lang.Number (clojure.lang.Symbol is in unnamed module
我对宏中的符号是如何计算的感到困惑。java.lang.RuntimeException: No such var: user/f, compiling:(/tmp/form-init2718774128764638076.clj:12:18)
这些符号是否在宏中解析实际上,在宏中从未计算过任何参数。语法引号中的~只生成传递给宏的实际字符串(符号),如果没有它,列表中的符号就会按原样返回。有趣的是,如果提