src/Pure/ML-Systems/time_limit.ML
author wenzelm
Thu, 04 Jun 2009 19:15:54 +0200
changeset 31433 12f5f6af3d2d
parent 29564 f8b933a62151
permissions -rw-r--r--
less experimental polyml-5.3;

(*  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;