As far as I can tell there is no way to detect EOF with ReadChannels.
Maybe you should ask the designer (Paul Hudak) of this language feature
how to do it.
The endless stream of -1 with hbc is definitely a kind of bug. I'll fix
it.
-- Lennart
- End of file on ReadChannels sinclair
- End of file on ReadChannels Lennart Augustsson
- End of file on ReadChannels Paul Hudak
