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