src/Pure/ML-Systems/time_limit.ML
author haftmann
Fri, 20 Aug 2010 17:46:56 +0200
changeset 38621 d6cb7e625d75
parent 29564 f8b933a62151
permissions -rw-r--r--
more concise characterization of of_nat operation and class semiring_char_0

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