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