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