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