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