On Tue, Sep 20, 2005 at 02:29:12PM +0100, Keean Schupke wrote: > >It's unclear to me exactly how to mix the IO monad with Parsec. It > >doesn't really seem to be doable. > > > >Not to mention that if hGetContents is used, the Handle has to be put > >into non-buffering mode, which means one syscall per character read. > >Terribly slow. > > > > > > > Does it? I didn't think so ...
strace seems to say yes. If buffering is used, it blocks on attempts to read more than is available. -- John _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
