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