Basic constructor macro for attrib-spec structures.
(make-attrib-spec [: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 '((:attribs)) 'make-attrib-spec nil))
Function:
(defun attrib-spec (attribs) (declare (xargs :guard (attrib-listp attribs))) (declare (xargs :guard t)) (let ((__function__ 'attrib-spec)) (declare (ignorable __function__)) (b* ((attribs (mbe :logic (attrib-list-fix attribs) :exec attribs))) (list (cons 'attribs attribs)))))