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