with-stack-list

$Revision: 5.0.2.2 $

Macro

Package: EXCL

Arguments: ((var &rest elements) &body body)

Returns the result of evaluating body as if in a progn. var is bound to a list which may or may not be consed on the stack.

(excl:with-stack-list (var e1 e2 ... en) ...)

is like

(let ((var (list e1 e2 ... en))) (declare (dynamic-extent var)) ...)

WARNING: the value of the variable must not be used outside of the dynamic scope of the with-stack-list form, since it may be allocated on the stack and thus would be invalid after with-stack-list returns.

See also with-stack-list*.

The general documentation description is in introduction.htm. The index is in index.htm.

Copyright (C) 1998-1999, Franz Inc., Berkeley, CA. All Rights Reserved.