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