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