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