]> matita.cs.unibo.it Git - helm.git/blobdiff - components/cic_disambiguation/disambiguateTypes.mli
...
[helm.git] / components / cic_disambiguation / disambiguateTypes.mli
index 4f4b3c3ecdb49d2d9acde5b8573dde45f968c214..00fe4114cdcde61ca5e5bde2e299bcda3c846985 100644 (file)
@@ -41,7 +41,7 @@ end
 
   (** to be raised when a choice is invalid due to some given parameter (e.g.
    * wrong number of Cic.term arguments received) *)
-exception Invalid_choice of string Lazy.t
+exception Invalid_choice of Stdpp.location option * string Lazy.t
 
 type codomain_item =
   string *  (* description *)
@@ -71,12 +71,13 @@ module type Callbacks =
        UriManager.uri list
 
       val interactive_interpretation_choice :
-      (string * string) list list -> int list
+        string -> int ->
+      (Stdpp.location list * string * string) list list -> int list
 
     (** @param title gtk window title for user prompting
      * @param id unbound identifier which originated this callback invocation *)
     val input_or_locate_uri:
-      title:string -> ?id:string -> unit -> UriManager.uri
+      title:string -> ?id:string -> unit -> UriManager.uri option
   end
 
 val string_of_domain_item: domain_item -> string