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