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