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