[Haskell-cafe] Detecting unused read handles? (was: File handles
and pipes)
Jason Dagit
dagit at codersbase.com
Thu Oct 23 16:23:30 EDT 2008
On Thu, Oct 23, 2008 at 12:38 PM, Thomas Hartman <tphyahoo at gmail.com> wrote:
>>> Specifically I'm trying to concatenate the output of two system calls
>>> into the input of a third. The following code does not get the job
>
> Can the left-fold enumerator described by oleg in
>
> http://okmij.org/ftp/Haskell/fold-stream.lhs
>
> and with more references at http://okmij.org/ftp/Haskell/
>
> be adapted for reading the output from arbitrary system calls? I.e.,
> to deal with pipes? My intuition says yes but I'm still trying to wrap
> my head around the whole left fold enumerator approach to io.
I found his slides w/notes from defun to be insightful.
http://okmij.org/ftp/Streams.html#iteratee
grab the talk notes pdf.
Jason
More information about the Haskell-Cafe
mailing list