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