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