Basic constructor macro for tyspec-atomic structures.
(make-tyspec-atomic [:type <type>])
This is the usual way to construct tyspec-atomic structures. It simply conses together a structure with the specified fields.
This macro generates a new tyspec-atomic structure from scratch. See also change-tyspec-atomic, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-tyspec-atomic (&rest args) (std::make-aggregate 'tyspec-atomic args '((:type)) 'make-tyspec-atomic nil))
Function:
(defun tyspec-atomic (type) (declare (xargs :guard (tynamep type))) (declare (xargs :guard t)) (let ((__function__ 'tyspec-atomic)) (declare (ignorable __function__)) (b* ((type (mbe :logic (tyname-fix type) :exec type))) (cons :atomic (list type)))))