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