Re: [racket-users] read-line reads only a character at a time from file.

2015-12-17 Thread Mark Thom
Thanks very much! -- 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. For more options, visit https://groups.google.com/d/

Re: [racket-users] read-line reads only a character at a time from file.

2015-12-17 Thread Daniel Feltey
I think the issue is that `read-line` is returning a string, so in every iteration of the for loop line is bound to a single character from that string, I think you may want to use `in-lines`[1] instead of `read-line`. [1]: http://docs.racket-lang.org/reference/sequences.html?q=in-lines#%28def._%2