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