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