RE: case-identity

2003-07-29 Thread Simon Peyton-Jones
Ahem. What I should have said is that the list of alternatives always covers all cases that can occur. For example in data Foo = Red | Green | Blue ...case x of Red - True other - ...(case x of Green - ... Blue - ... ) ... The

Lost output in multithreaded program

2003-07-29 Thread David Hughes
Dear list, I am puzzled by the behaviour of this (stripped-down, uglified) program. It is supposed to run a bunch of shell commands simultaneously, collate their standard output and error, and print their output as though they had run sequentially. module Main where import