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