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