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