Compare commits

...

3 Commits

View File

@ -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)))))