5.2. Setf Expansions
Prev Chapter 5. Data and Control Flow Next

5.2. Setf Expansions [sec_5-1-1-2]

(GET-SETF-EXPANSION form &OPTIONAL environment ), (EXT:GET-SETF-METHOD form &OPTIONAL environment ), and (EXT:GET-SETF-METHOD-MULTIPLE-VALUE form &OPTIONAL environment ) receive as optional argument environment the environment necessary for macro expansions. In DEFINE-SETF-EXPANDER and EXT:DEFINE-SETF-METHOD lambda lists, one can specify &ENVIRONMENT and a variable, which will be bound to the environment. This environment should be passed to all calls of GET-SETF-EXPANSION, EXT:GET-SETF-METHOD and EXT:GET-SETF-METHOD-MULTIPLE-VALUE. If this is done, even local macros will be interpreted as places correctly.


These notes document CLISP version 2.49Last modified: 2010年07月07日




5.1. Generalized Reference Home 5.3. Kinds of Places

AltStyle によって変換されたページ (->オリジナル) /