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