new i/o library

Simon Marlow simonmarhaskell at gmail.com
Fri Feb 3 06:41:15 EST 2006


Simon Marlow wrote:

> -- | Takes an output stream and an input stream, and pipes all the
> -- data from the former into the latter.
> streamConnect :: (OutputStream o, InputStream i) => o -> i -> IO ()

That's the wrong way around, of course :-)  It pipes everything from the 
input stream to the output stream.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list