macro | since v0.0-1211 | Edit |
(gen-apply-to)
(core/defmacro gen-apply-to []
`(do
(set! ~'*unchecked-if* true)
(defn ~'apply-to [~'f ~'argc ~'args]
(let [~'args (seq ~'args)]
(if (zero? ~'argc)
(~'f)
~(gen-apply-to-helper))))
(set! ~'*unchecked-if* false)))