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