Treat Clojure macro as a function

后端 未结 3 2024
后悔当初
后悔当初 2021-01-01 18:33

How can I cause a Clojure macro to act as a function, so I can pass it as an argument for example? I would expect to have to wrap it somehow.

I would not expect the

3条回答
  •  情话喂你
    2021-01-01 19:16

    There is a dangerous, deprecated macro that you should not ever use. :-P

    http://clojure.github.com/clojure-contrib/apply-macro-api.html

提交回复
热议问题