[email protected]
[Top] [All Lists]

Re: [Haskell-cafe] Reading from a process

Subject: Re: [Haskell-cafe] Reading from a process
From: Jason Dusek
Date: Wed, 16 Dec 2009 20:28:29 -0800
2009/12/16 Mitar <[email protected]>:
> On Wed, Dec 16, 2009 at 11:25 PM, Jason Dusek <[email protected]> wrote:
> Criterion for garbage is that it is not readable with "read" and that
> not because there would be not enough data available. It seems that I
> will need to do buffer filling and reading at the same time. I was
> hoping I could split this in two functions.

  I don't see where you express in the code the notion of
  enough data, though. Maybe I missed it.

> I am not using hReady signal as delimiter.

  It seems like the message delimiter to me because you keep
  buffering till you receive it.

Jason Dusek
Haskell-Cafe mailing list
[email protected]

<Prev in Thread] Current Thread [Next in Thread>