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