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