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