src/Pure/ML-Systems/time_limit.ML
author wenzelm
Sat, 06 Jun 2009 19:58:10 +0200
changeset 31471 e3987b32e401
parent 29564 f8b933a62151
permissions -rw-r--r--
use_text: pass file name to compiler, tuned;

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