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