Hello Aaron,

Monday, February 06, 2006, 9:46:56 PM, you wrote:

>> ps: the library also includes two more layers - binary I/O and
>> serialization - on top of Streams. now i'm hardly working on
>> documenting these modules

AD> Disclaimer: I haven't looked at the code yet.

AD> Having binary I/O on top seems backwards.  Clearly text should be
AD> implemented in terms of binary, rather than the reverse.

the hierarchy is (i wrote the class names in parentheses):

buffer i/o        (BlockStream)
byte i/o          (ByteStream)
bit and word i/o  (BinaryStream)
value i/o         (Binary)

text i/o is sitting on top of byte i/o and included in the same
ByteStream class (in order to reduce implementation complexity)

so, i can say that there is just two branches, both based on the
vGetByte/vPutByte

-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]



_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to