module Timed_function: Timed_function
exception Timeout
This module is here to add timeouts to any functions.
val run : timeout:float ->
f:('a -> 'b) ->
sexp_of:('b -> Core.Sexp.t) ->
of_sexp:(Core.Sexp.t -> 'b) -> 'a -> 'b