Package: alexandria

Macro with-gensyms

Lambda List

with-gensyms (names &body forms)


Binds each variable named by a symbol in names to a unique symbol around forms.

Each of names must either be a symbol, or of the form:
 (symbol string-designator)  
Bare symbols appearing in names are equivalent to:
 (symbol symbol)  
The string designator is used as the argument to gensym when constructing the unique symbol the named variable will be bound to.