Next: , Previous: , Up: Public Interface   [Contents][Index]


6.1.2 Macros

Macro: declare-valid-superclass (class superclass)

Validate SUPERCLASS classes for CLASS classes.

Package

net.didierverna.declt.setup.

Source

util.lisp.

Macro: defabstract (class super-classes slots &rest options)

Like DEFCLASS, but define an abstract class.

Package

net.didierverna.declt.setup.

Source

util.lisp.

Macro: endpush (object place)

Push OBJECT at the end of PLACE.

Package

net.didierverna.declt.setup.

Source

util.lisp.

Macro: when-let (bindings &body body)

Execute BODY only when all BINDINGS are non-nil.
BINDINGS must be either a single binding of the form (VARIABLE VALUE), or a list of such. VALUEs are computed sequentially in the specified order, and then VARIABLEs are bound to the corresponding VALUEs. If all VALUEs are non-nil, BODY is executed.

Package

net.didierverna.declt.setup.

Source

util.lisp.

Macro: when-let* (bindings &body body)

Execute BODY only when all BINDINGS are non-nil.
BINDINGS must be either a single binding of the form (VARIABLE VALUE),
or a list of such. VARIABLEs are bound to their respective VALUE sequentially, so that each VALUE expression may refer to a previously bound VARIABLE. Execution stops completely as soon as a null VALUE is encountered. Otherwise, BODY is executed as an implicit PROGN.

Package

net.didierverna.declt.setup.

Source

util.lisp.

Macro: while (test &body body)

Execute BODY while TEST.

Package

net.didierverna.declt.setup.

Source

util.lisp.


Next: Ordinary functions, Previous: Special variables, Up: Public Interface   [Contents][Index]