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