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