with-generate-accessors-formatGBBopen Toolswith-once-only-bindingswith-gensymsGoTo Top

with-gensyms   (symbol*) declaration* form* => result*[Macro]

Purpose
Bind each symbol to a gensym symbol.

Package   :gbbopen-tools

Module   :gbbopen-tools

Arguments and values

symbols     Zero or more symbols to be bound to gensyms
declaration     A declare expression (not evaluated)
forms     An implicit progn of forms to be evaluated
results     The values returned by evaluating the last form

Returns
The values returned by evaluating the last form.

Examples

  > (pprint (macroexpand '(with-gensyms (a b) (form))))
  (let ((a (gensym))
        (b (gensym)))
    (form))
  >


The GBBopen Project


with-generate-accessors-formatGBBopen Toolswith-once-only-bindingswith-gensymsGoTo Top