src/Pure/ML-Systems/time_limit.ML
author blanchet
Thu, 07 Jan 2010 12:24:35 +0100
changeset 34288 cf455b5880e1
parent 29564 f8b933a62151
permissions -rw-r--r--
reduced arity of Nitpick selectors associated with sets by 1, by using "Formula" instead of "Atom 2"

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