3 ms·
> It's not practical for people crunching data or opening files .. but whenever you need to attack something a little more complex the 'practicality' argument s
by dleslie 10y ago
> It's not practical for people crunching data or opening files .. but whenever you need to attack something a little more complex the 'practicality' argument shift sides.
(define (my-reader)
(let ((c (read-char)))
(when (not (eof-object? c))
(display c) (newline)
(my-reader))))
(with-input-from-file "myfile" my-reader)