
On Fri, May 09, 2003 at 11:03:13AM +0100, Simon Marlow wrote:
We should think about what functionality we want to provide in the core libraries. My preference would be to go for a full version with three pipes (like shell-haskell) and perhaps one or two more specialised versions covering common cases (I don't know what these should be, though).
One thing I'd like to see would be a version that accepts a string as the standard input, and perhaps gives a lazy string as the standard output. At least in its current incarnation, I don't see how this can trivially be implemented on top of launch, since it would generally fail on input strings longer than 4k in length due to buffering issues, as the write of the string will block when the buffer is full. The handles are great, but if what you really want is just a simple (non-interactive) pipe, strings would be nice. -- David Roundy http://www.abridgegame.org