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