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