src/Pure/ML-Systems/polyml-4.1.4-patch.ML
changeset 23139 aa899bce7c3b
parent 23138 6852373aae8a
child 23140 f6927a08a02b
equal deleted inserted replaced
23138:6852373aae8a 23139:aa899bce7c3b
     1 (*  Title:      Pure/ML-Systems/polyml-4.1.4-patch.ML
       
     2     ID:         $Id$
       
     3 
       
     4 Basis library fixes for Poly/ML 4.2.0 or later.
       
     5 *)
       
     6 
       
     7 structure Posix =
       
     8 struct
       
     9   open Posix;
       
    10   structure IO =
       
    11   struct
       
    12     open IO;
       
    13     val mkReader = mkTextReader;
       
    14     val mkWriter = mkTextWriter;
       
    15   end;
       
    16 end;
       
    17 
       
    18 structure TextIO =
       
    19 struct
       
    20   open TextIO;
       
    21   fun inputLine is = Option.getOpt (TextIO.inputLine is, "");
       
    22 end;
       
    23 
       
    24 structure Substring =
       
    25 struct
       
    26   open Substring;
       
    27   val all = full;
       
    28 end;