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