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