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