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