src/Pure/ML-Systems/time_limit.ML
author wenzelm
Tue, 20 Jul 2010 23:09:49 +0200
changeset 37863 7f113caabcf4
parent 29564 f8b933a62151
permissions -rw-r--r--
discontinued pervasive val theory = Thy_Info.get_theory -- prefer antiquotations in most situations;

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