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