4 Sep 2000 08:12:14 GMT, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> pisze:
> I will check how would it look like. Maybe it's not that bad...
Seems that it does not make much sense unless Handles are parametrized
too. (And this would be IMHO too ugly. Enough that Posix has its Fd.)
Assume that Handles are not parametrized and input conversions attached
to handles must convert [Byte] -> [Char]. Then what should byte reads
give? If converted Chars cast to Bytes then it goes against the spirit
of distinguishing Chars and Bytes. If they bypass conversion, then
buffering will probably mess up and it's impossible to get transparent
compression for binary data on Handles - although it's possible for
text data. Both ways look bad.
Sorry, I cannot imagine any other sensible view - than Handles
representing external streams of Chars, encoded in various ways.
Distinguishing Chars and Bytes could be more elegant when done well
but I can't see how to do it well!
--
__("< Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK