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