src/Pure/ML-Systems/time_limit.ML
author wenzelm
Sun Mar 01 23:36:12 2009 +0100 (2009-03-01)
changeset 30190 479806475f3c
parent 29564 f8b933a62151
permissions -rw-r--r--
use long names for old-style fold combinators;
     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