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