src/Pure/ML-Systems/time_limit.ML
author wenzelm
Sat, 21 Mar 2009 19:58:44 +0100
changeset 30623 9ed1122d6cd2
parent 29564 f8b933a62151
permissions -rw-r--r--
simplified datatype ML_Pretty.pretty: model Isabelle not Poly/ML;

(*  Title:      Pure/ML-Systems/time_limit.ML
    Author:     Makarius

Dummy implementation of NJ's TimeLimit structure.
*)

signature TIME_LIMIT =
sig
  exception TimeOut
  val timeLimit : Time.time -> ('a -> 'b) -> 'a -> 'b
end;

structure TimeLimit: TIME_LIMIT =
struct

exception TimeOut;
fun timeLimit _ f x = f x;

end;