X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic%2FcicUtil.mli;h=744ac3211925a2f3a81d02ffc774ef0b94539838;hb=7efb15b93cf42eae8b34a12a327ee7213c1dbecc;hp=31c7e4dee70aa681aab494a87edec45217c3b6e4;hpb=f85e6f52232af229b80a8447492cfae80f95d832;p=helm.git diff --git a/helm/ocaml/cic/cicUtil.mli b/helm/ocaml/cic/cicUtil.mli index 31c7e4dee..744ac3211 100644 --- a/helm/ocaml/cic/cicUtil.mli +++ b/helm/ocaml/cic/cicUtil.mli @@ -50,6 +50,8 @@ val pack: Cic.term list -> Cic.term val unpack: Cic.term -> Cic.term list *) +val id_of_annterm: Cic.annterm -> Cic.id + (** {2 Cic selectors} *) val params_of_obj: Cic.obj -> UriManager.uri list @@ -62,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