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