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