Hi,
I believe I've brought this up before, but I'm bringing it up again,
as I'm building an in-memory file system and want to use the IO module
for the interface to it.
However, the lack of seekable streams has pretty much left it near
useless. About the only operations I can do for writing a file is
either truncating it or appending to it (using my own class).
Perhaps you could take a leaf out of the C++ iostreams standard. That
is one hell of a flexible and truly useful IO library, which redone in
OCaml properly would be a kickass addition to Extlib.
Jonathan
|