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