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