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

Reply via email to