src/Pure/ML-Systems/polyml-4.1.4-patch.ML
author wenzelm
Wed, 29 Nov 2006 15:44:59 +0100
changeset 21592 8831206d7f41
parent 21299 4b01726d71fc
permissions -rw-r--r--
renamed SIMPLE_METHOD' to SIMPLE_METHOD''; added simple version of SIMPLE_METHOD';

(*  Title:      Pure/ML-Systems/polyml-4.1.4-patch.ML
    ID:         $Id$

Basis library fixes for Poly/ML 4.2.0 or later.
*)

structure Posix =
struct
  open Posix;
  structure IO =
  struct
    open IO;
    val mkReader = mkTextReader;
    val mkWriter = mkTextWriter;
  end;
end;

structure TextIO =
struct
  open TextIO;
  fun inputLine is = Option.getOpt (TextIO.inputLine is, "");
end;

structure Substring =
struct
  open Substring;
  val all = full;
end;