* For details, see the HELM World-Wide-Web page,
* http://helm.cs.unibo.it/
*)
-
+(*
+type domain_item =
+ | Id of (string * string option) (* literal, opt. uri *)
+ | Symbol of string * (string option * string) option (* literal, opt. (uri,interp.) *)
+ | Num of (string option * string) option (* opt. uri, interpretation *)
+ *)
type domain_item =
- | Id of string (* literal *)
- | Symbol of string * int (* literal, instance num *)
- | Num of int (* instance num *)
+ | Id of string (* literal *)
+ | Symbol of string (* literal *)
+ | Num
(* module Domain: Set.S with type elt = domain_item *)
module Environment:
sig
- include Map.S with type key = domain_item
+ include Map.S with type key = domain_item
val cons: ('b -> 'a) -> domain_item -> 'b -> 'b list t -> 'b list t
end
- (** to be raised when a choice is invalid due to some given parameter (e.g.
+module InterprEnv:
+sig
+ include Map.S with type key = Stdpp.location
+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 (Stdpp.location * string) Lazy.t
type interactive_interpretation_choice_type = string -> int ->
(Stdpp.location list * string * string) list list -> int list
+type interactive_ast_choice_type = string list -> int
+
type input_or_locate_uri_type =
title:string -> ?id:string -> unit -> NReference.reference option