Basic constructor macro for amb?-expr/tyname-tyname structures.
(make-amb?-expr/tyname-tyname [:tyname <tyname>])
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 '((:tyname)) 'make-amb?-expr/tyname-tyname nil))
Function:
(defun amb?-expr/tyname-tyname (tyname) (declare (xargs :guard (tynamep tyname))) (declare (xargs :guard t)) (b* ((tyname (mbe :logic (tyname-fix tyname) :exec tyname))) (cons :tyname tyname)))