Comment on safe-io.rkt

This commit is contained in:
Tony Garnock-Jones 2011-08-10 21:50:40 -04:00
parent 3ffa667e89
commit 19774e7bf1
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@
(provide read-line-limited)
;; Uses Internet (CRLF) convention.
;; Uses Internet (CRLF) convention. Limit does not cover the CRLF
;; bytes.
(define (read-line-limited port limit)
(let collect-chars ((acc '())
(remaining limit))