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