CLCS
Accessor

compiler-macro-function

compiler-macro-function name &optional environment ⇒ function

(setf ( compiler-macro-function name &optional environment) new-function)

Arguments and Values

namea function name.
environmentan environment object.
function, new-functiona compiler macro function, or nil.

Description

Accesses the compiler macro function named name, if any, in the environment.

A value of nil denotes the absence of a compiler macro function named name.

Exceptional Situations

The consequences are undefined if environment is non-nil in a use of setf of compiler-macro-function.