lispdoc - results for with-gensyms |
(alexandria.0.dev:with-gensyms names &body forms) | Function: Binds each variable named by a symbol in NAMES to a unique symbol around FORMS. Each of NAMES must either be either 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.
|
(with-slots slots instance &body body) | Undocumented
|
Example:(defun untrained-p (feature) (with-slots (spam-count ham-count) feature (and (zerop spam-count) (zerop ham-count)))) | Mentioned in: CLtL2 - 28.1.2.4. Accessing Slots CLtL2 - 28.2. Functions in the Programmer Interface CLtL2 - 29.4.5. Defining Conditions CLtL2 - 9.1. Declaration Syntax HyperSpec - Macro WITH-SLOTS PCL - good object oriented design PCL - keeping track of inherited slots PCL - manipulating the lexical environment PCL - other special operators PCL - the current object stack PCL - with slots and with accessors |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |