Pretty-print a (non-blank) line of code.
The content to print is preceded by indentation according to the current level.
Function:
(defun pprint-line (content level) (declare (xargs :guard (and (msgp content) (natp level)))) (let ((__function__ 'pprint-line)) (declare (ignorable __function__)) (msg "~s0~@1~%" (pprint-indent level) content)))
Theorem:
(defthm msgp-of-pprint-line (b* ((line (pprint-line content level))) (msgp line)) :rule-classes :rewrite)