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