fixing an incompatibility with Posix.IO.mkTextReader
authorpaulson
Tue, 12 Apr 2005 11:07:42 +0200
changeset 15699 7d91dd712ff8
parent 15698 95deeda57341
child 15700 970e0293dfb3
fixing an incompatibility with Posix.IO.mkTextReader
src/Pure/ML-Systems/polyml.ML
--- a/src/Pure/ML-Systems/polyml.ML	Mon Apr 11 16:25:53 2005 +0200
+++ b/src/Pure/ML-Systems/polyml.ML	Tue Apr 12 11:07:42 2005 +0200
@@ -165,3 +165,17 @@
 
 val profiling: int->unit =
      RunCall.run_call1 RuntimeCalls.POLY_SYS_profiler;
+
+structure OriginalPosix = Posix;
+structure OriginalIO = Posix.IO;
+
+structure Posix =
+struct
+  open OriginalPosix
+  structure IO =
+  struct
+  open OriginalIO
+  val mkTextReader = mkReader 
+  val mkTextWriter = mkWriter 
+  end;
+end;