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