API for apply-macro - clojure-contrib v1.2 (stable)

clojure-contrib is now deprecated

clojure-contrib is no longer being developed or maintained.

Rather than a single, monolithic, contributions library, Clojure now has a set of separate libraries for each unit of functionality. The libraries are in the Clojure GitHub organization at https://github.com/clojure. API documentation of the libraries can be found at https://clojure.github.io.

If you're looking for a specific function or namespace from the old clojure-contrib, see "Where Did Clojure.Contrib Go".

Full namespace name: clojure.contrib.apply-macro


Deprecated since clojure-contrib version 1.2

Public Variables and Functions


This library, clojure-contrib, is deprecated. See here for more information.
Usage: (apply-macro macro & args)
This is evil.  Don't ever use it.  It makes a macro behave like a
function.  Seriously, how messed up is that?

Evaluates all args, then uses them as arguments to the macro as with

(def things [true true false])
(apply-macro and things)
;; Expands to:  (and true true false)
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.