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