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