module Environment:
sig
include Map.S with type key = domain_item
- val cons: domain_item -> ('a * 'b) -> ('a * 'b) list t -> ('a * 'b) list t
- val hd: 'a list t -> 'a t
-
- (** last alias cons-ed will be processed first *)
- val fold_flatten: (domain_item -> 'a -> 'b -> 'b) -> 'a list t -> 'b -> 'b
+ 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.
type 'term codomain_item =
string * (* description *)
- ('term environment -> string -> 'term list -> 'term)
- (* environment, literal number, arguments as needed *)
-
-and 'term environment = 'term codomain_item Environment.t
-
-type 'term multiple_environment = 'term codomain_item list Environment.t
-
-(* a simple case of extension of a disambiguation environment *)
-val env_of_list:
- (string * string * 'term) list -> 'term environment -> 'term environment
-
-val multiple_env_of_list:
- (string * string * 'term) list -> 'term multiple_environment ->
- 'term multiple_environment
+ [`Num_interp of string -> 'term
+ |`Sym_interp of 'term list -> 'term]
type interactive_user_uri_choice_type =
selection_mode:[`SINGLE | `MULTIPLE] ->
type input_or_locate_uri_type =
title:string -> ?id:string -> unit -> UriManager.uri option
-module type Callbacks =
- sig
-
- val interactive_user_uri_choice : interactive_user_uri_choice_type
-
- val interactive_interpretation_choice :
- interactive_interpretation_choice_type
-
- val input_or_locate_uri: input_or_locate_uri_type
- end
-
val string_of_domain_item: domain_item -> string
-val string_of_domain: domain_item list -> string
-
-(** {3 type shortands} *)
-
-(*
-type term = CicNotationPt.term
-type tactic = (term, term, GrafiteAst.reduction, string) GrafiteAst.tactic
-type tactical = (term, term, GrafiteAst.reduction, string) GrafiteAst.tactical
-
-type script_entry =
- | Command of tactical
- | Comment of CicNotationPt.location * string
-type script = CicNotationPt.location * script_entry list
-*)