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