[Haskell-cafe] Re: File handles and pipes

Matti Niemenmaa matti.niemenmaa+news at iki.fi
Mon Oct 20 03:14:03 EDT 2008

Matti Niemenmaa wrote:
> 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.

Ack, sorry for the spam, I misunderstood: my second statement holds but it's
irrelevant to the topic, which was having "a" and "b" both go straight into a "c".

More information about the Haskell-Cafe mailing list