Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> writes:

> Ketil Malde <[EMAIL PROTECTED]> writes:

>> It seemed to me, though, that streams are related to channels,

> I'm not sure what exactly do you mean by streams (because they are
> only being designed), but differences are:

Sorry for being unclear, I was thinking in relation to the new-io
proposal Simon M. recently posted on the lists (I put all Haskell mail
in the same folder, it could have been a ghc list or haskell@).

> - A stream passes around bytes, which are usually grouped in blocks
>   for efficiency. A channel is polymorphic wrt. the element type and
>   elements are always processed one by one.

Perhaps I'm confused, but while Stream.StreamInputStream is a stream
of Word8, Text.TextInputStream provides a stream of Chars.

Thanks for the explanation!

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to