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