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