Ready for testing: Unicode support for Handle I/O

Paolo Losi paolo at hypersonic.it
Wed Feb 4 06:53:18 EST 2009



Max Vasin wrote:
> Wouldn't  it be more correct to separate binary IO, which
> return [Word8] (or ByteString) and text IO which return
> [Char] and deal with text encoding? IIRC that was done in
> Bulat Ziganshin's streams library.

That's exactly what I meant.

Text IO could be then implemented on top of binary IO.

Would it be possible to envision a solution that enables
composition of IO low level strategies vs binary <-> text
conversion strategies?

Pao



More information about the Libraries mailing list