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