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