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