IO problems?
Stephen Weeks
MLton@research.nj.nec.com
Thu, 1 Jun 2000 14:59:09 -0700 (PDT)
> For the record - I just made a small test for TextIO too - same
> problem...
On a windows machine, right?
> > I can try to help you find it. My
> > first attempt would be to put some debugging information in the TextIO
> > (or BinIO) implementation. You can use the underlying C fprintf via
> > the FFI mechanism. Put in debugging statements whenever any of the
> > TextIO.input functions is called, and within updateIn so we can see
> > what read is returning. We'll go from there.
>
> OK - I guess I'll have to get my hands dirty ;)
Just to speed things up, I wanted to make sure that you knew that you
can process a new version of the basis library very quickly, without
recompiling the whole compiler. See the ../lib/world.mlton target in
src/Makefile for how to do this.