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