Skip to content

with gensyms

TurtleKitty edited this page May 12, 2019 · 2 revisions

with-gensyms

This operator creates a set of gensyms and assigns them to the given symbols.

(with-gensyms (x y z)
    (list x y z))

;  (gensym-c0728893-b107-4e18-3b0a-55c812a61a9d
;   gensym-6a492d35-9460-4388-349f-9ec10ec7f70c
;   gensym-eb17efa4-8fa9-4231-b7a8-194392f0271f)
Clone this wiki locally