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