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