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