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