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