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