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