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