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