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