Shouldn't the for be (for ([expr (in-producer read eof)] ⋯). One could also 
specify the input port there, as shown in reference for in-producer 
<https://docs.racket-lang.org/reference/sequences.html#(def._((lib._racket%2Fprivate%2Fbase..rkt)._in-producer))>
 
, possibly inside call-with-input-file (although that vs 
with-input-from-file is probably a matter of taste).

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/d1583583-f98b-47fe-a6b8-5dd295bceef8n%40googlegroups.com.

Reply via email to