(tr-read-char$-all channel state acc) → (mv * state)
Function:
(defun tr-read-char$-all (channel state acc) (declare (xargs :stobjs (state))) (declare (xargs :guard (symbolp channel))) (declare (xargs :guard (open-input-channel-p channel :character state))) (let ((__function__ 'tr-read-char$-all)) (declare (ignorable __function__)) (b* (((unless (mbt (state-p state))) (mv acc state)) ((mv char state) (read-char$ channel state)) ((unless char) (mv acc state)) (acc (cons (mbe :logic (char-fix char) :exec char) acc))) (tr-read-char$-all channel state acc))))