]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic/cicUtil.mli
CicUtil.profile made even more polymorphic.
[helm.git] / helm / ocaml / cic / cicUtil.mli
index cad3abbee9546e093ccfee1cfdb512127c762377..744ac3211925a2f3a81d02ffc774ef0b94539838 100644 (file)
@@ -64,4 +64,5 @@ val mk_rels : int -> int -> Cic.term list
 (** profile s
  * returns a profiling function; [s] is used for labelling the total time at
    the end of the execution *)
-val profile : string -> ('a -> 'b) -> 'a -> 'b
+type profiler = { profile : 'a 'b. ('a -> 'b) -> 'a -> 'b }
+val profile : string -> profiler