[Haskell-cafe] Re: File handles and pipes

Matti Niemenmaa matti.niemenmaa+news at iki.fi
Sun Oct 19 07:21:29 EDT 2008

Brandon S. Allbery KF8NH wrote:
> Pipes are perhaps a bit misnamed:  if you want to combine the output of
> two pipes and funnel it into a third you can't simply "plumb them
> together", you need to provide code which reads from the output pipes
> and writes into the input pipe.

With the new System.Process in 6.10, that's not the case. If you're building a
pipeline "a | b | c | d" you only need to write into "a" and read from "d",
System.Process handles everything in between.

More information about the Haskell-Cafe mailing list