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