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