Up | Next | Prev | PrevTail | Tail |
Functions in Standard LISP are global entities. To avoid function-variable naming clashes no variable may have the same name as a function.
FEXPR PROCEDURE DE(U); |
PUTD(CAR U, ’EXPR, LIST(’LAMBDA, CADR U, CADDR U)); |
FEXPR PROCEDURE DF(U); |
PUTD(CAR U, ’FEXPR, LIST(’LAMBDA, CADR U, CADDR U)); |
FEXPR PROCEDURE DM(U); |
PUTD(CAR U, ’MACRO, LIST(’LAMBDA, CADR U, CADDR U)); |
(TYPE:ftype . DEF:{function-pointer, lambda})
is returned.
If the function FNAME has already been declared as a GLOBAL or FLUID variable the error:
***** FNAME is a non-local variable
occurs and the function will not be defined. If function FNAME already exists a warning message will appear:
*** FNAME redefined
The function defined by PUTD will be compiled before definition if the !*COMP global variable is non-NIL.
Up | Next | Prev | PrevTail | Front |