Compare commits
3 Commits
7a24be4b9c
...
938fd7d41b
Author | SHA1 | Date | |
---|---|---|---|
938fd7d41b | |||
1381f0b881 | |||
085736da27 |
@ -39,7 +39,7 @@
|
|||||||
(define (foreach-line thunk)
|
(define (foreach-line thunk)
|
||||||
(let loop ()
|
(let loop ()
|
||||||
(let ((line (get-line (current-input-port))))
|
(let ((line (get-line (current-input-port))))
|
||||||
(when (not (eof-object? line))
|
(unless (eof-object? line)
|
||||||
(display (thunk line))
|
(display (thunk line))
|
||||||
(loop)))))
|
(loop)))))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user