src/Pure/ML-Systems/time_limit.ML
author wenzelm
Sat Nov 27 16:29:53 2010 +0100 (2010-11-27 ago)
changeset 40748 591b6778d076
parent 29564 f8b933a62151
permissions -rw-r--r--
removed bash from ML system bootstrap, and past the Secure ML barrier;
     1 (*  Title:      Pure/ML-Systems/time_limit.ML
     2     Author:     Makarius
     3 
     4 Dummy implementation of NJ's TimeLimit structure.
     5 *)
     6 
     7 signature TIME_LIMIT =
     8 sig
     9   exception TimeOut
    10   val timeLimit : Time.time -> ('a -> 'b) -> 'a -> 'b
    11 end;
    12 
    13 structure TimeLimit: TIME_LIMIT =
    14 struct
    15 
    16 exception TimeOut;
    17 fun timeLimit _ f x = f x;
    18 
    19 end;
    20