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