src/Pure/ML-Systems/time_limit.ML
author wenzelm
Thu, 20 Dec 2007 21:11:58 +0100
changeset 25732 308315ee2b6d
parent 24688 a5754ca5c510
child 29564 f8b933a62151
permissions -rw-r--r--
added ML-Systems/universal.ML;

(*  Title:      Pure/ML-Systems/time_limit.ML
    ID:         $Id$
    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;