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