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