COMPILER-MACRO-FUNCTION(3cl)

Common Lisp Reference

COMPILER-MACRO-FUNCTION(3cl)

 

NAME

compiler-macro-function – access compiler macro function in the environment (accessor)

SYNOPSIS


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

ARGUMENTS and VALUES

name—a function name.

environment—an environment object.

function, new-function—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.

AFFECTED BY

(none)

EXCEPTIONAL SITUATIONS

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

NOTES

(none)

EXAMPLES

(none)

SEE ALSO

define-compiler-macro(3cl)  

AUTHOR and COPYRIGHT

Substantial portions of this page are taken from draft proposed American National Standard for Information Systems—Programming Language—Common Lisp, X3J13/94-101R, Version 15.17R, Fri 12-Aug-1994 6:35pm EDT; no copyright indicated.

Additional clarification and comments by Michael Marking <marking@tatanka.com>, http://www.tatanka.com/software/cl-manpages/; alternatively, https://github.com/wakinyantanka/cl-manpages/. Copyright 2017 Michael Marking as both an original and a derivative work.

Licensed under Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0).

This page last revised Sunday 26 February 2017.