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