Lift print-jchar to lists.
(print-jchars chars) → part
The representations of the characters are juxtaposed one after the other. This is used only for string literals, not character literals.
Function:
(defun print-jchars (chars) (declare (xargs :guard (character-listp chars))) (let ((__function__ 'print-jchars)) (declare (ignorable __function__)) (cond ((endp chars) "") (t (msg "~@0~@1" (print-jchar (car chars)) (print-jchars (cdr chars)))))))
Theorem:
(defthm msgp-of-print-jchars (b* ((part (print-jchars chars))) (msgp part)) :rule-classes :rewrite)