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