[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Common Lisp order of evaluation

The following passages out of the Common Lisp book may be relevant:

"setf carefully arranges to preserve the usual left-to-right order
in which the various subforms are evaluated."  (p. 97)

"Macros that manipulate generalized variables must guarantee the
'obvious' semantics:  subforms of generalized-variable references
are evaluated exactly as many times as they appear in the source
program, and they are evaluated in the same order as they appear
in the source program."  (p. 99)