Comment on safe-io.rkt
This commit is contained in:
parent
3ffa667e89
commit
19774e7bf1
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
(provide read-line-limited)
|
(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)
|
(define (read-line-limited port limit)
|
||||||
(let collect-chars ((acc '())
|
(let collect-chars ((acc '())
|
||||||
(remaining limit))
|
(remaining limit))
|
||||||
|
|
Loading…
Reference in New Issue