X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_disambiguation%2FdisambiguateTypes.mli;h=c210849669320aaaa57e6e2cfc5e0cb2e119fe96;hb=18ad62cacbbb08decd4332b0bab449e640114fd7;hp=523fe4b70838e7835d674480346dba9ea0da4428;hpb=dccf88890f1f9f8c8139f67aa7a26f8339b13502;p=helm.git diff --git a/helm/ocaml/cic_disambiguation/disambiguateTypes.mli b/helm/ocaml/cic_disambiguation/disambiguateTypes.mli index 523fe4b70..c21084966 100644 --- a/helm/ocaml/cic_disambiguation/disambiguateTypes.mli +++ b/helm/ocaml/cic_disambiguation/disambiguateTypes.mli @@ -40,16 +40,35 @@ and environment = codomain_item Environment.t module type Callbacks = sig + val interactive_user_uri_choice : selection_mode:[`SINGLE | `MULTIPLE] -> ?ok:string -> ?enable_button_for_non_vars:bool -> title:string -> msg:string -> id:string -> string list -> string list + val interactive_interpretation_choice : (string * string) list list -> int list - val input_or_locate_uri : title:string -> UriManager.uri + + (** @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 end val string_of_domain_item: domain_item -> string val string_of_domain: domain_item list -> string +(** {3 type shortands} *) + +type term = CicAst.term +type tactic = (term, string) TacticAst.tactic +type tactical = (term, string) TacticAst.tactical + +type script_entry = + | Command of tactical + | Comment of CicAst.location * string +type script = CicAst.location * script_entry list + +val empty_environment: environment +