Re: [Haskell-cafe] Blocking problem reading a handle

2011-03-24 Thread Jason Dagit
On Thu, Mar 24, 2011 at 1:49 AM, Daniel Díaz wrote: > Hi, cafe, > > all I want is to read the unread portion of a handle, without blocking > waiting for an EOF or a newline. My first attempt was to try with > hGetBufNonBlocking from System.IO, and other functions that use it in its > definition (

[Haskell-cafe] Blocking problem reading a handle

2011-03-24 Thread Daniel Díaz
Hi, cafe, all I want is to read the unread portion of a handle, without blocking waiting for an EOF or a newline. My first attempt was to try with hGetBufNonBlocking from System.IO, and other functions that use it in its definition (directly or indirectly). But, unfortunately: hGetBufNonBloc