Macro | Package: excl | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## with-stack-list

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*.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version