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