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