BinIO, Word8 and Word8Vector...
Stephen Weeks
sweeks@wasabi.epr.com
Sun, 14 Nov 1999 13:23:58 -0800 (PST)
> I see that BinIO is not implemented in MLTon.
Correct.
> And I can't see where TextIO is implemented.
> Where can I find TextIO and implement BinIO
> myself?
basis-library/io/text-io.{sig,sml}
Given that chars in MLton are 8 bits, I'm not sure I see what BinIO is
giving you that TextIO isn't. Is the problem that TextIO is
implemented using the Posix structure, which I assume doesn't (yet)
work in your Windows port?
Anyways, you might be able to live with TextIO and the conversion
functions in the Byte structure.
> I guess it's very simple - except if
> Word8 and/or Word8Vector is missing too
> (I haven't checked...).
These exist.
basis-library/integer/word8.sml
basis-library/arrays-and-vectors/mono-vector.sml