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