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