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