Basic constructor macro for identifier structures.
(make-identifier [:name <name>])
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 '((:name)) 'make-identifier nil))
Function:
(defun identifier (name) (declare (xargs :guard (stringp name))) (declare (xargs :guard t)) (let ((__function__ 'identifier)) (declare (ignorable __function__)) (b* ((name (mbe :logic (str-fix name) :exec name))) (cons :identifier (list (cons 'name name))))))