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