summaryrefslogtreecommitdiff
path: root/toplevel/fhimsg.mli
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2010-07-21 09:46:51 +0200
committerGravatar Stephane Glondu <steph@glondu.net>2010-07-21 09:46:51 +0200
commit5b7eafd0f00a16d78f99a27f5c7d5a0de77dc7e6 (patch)
tree631ad791a7685edafeb1fb2e8faeedc8379318ae /toplevel/fhimsg.mli
parentda178a880e3ace820b41d38b191d3785b82991f5 (diff)
Imported Upstream snapshot 8.3~beta0+13298
Diffstat (limited to 'toplevel/fhimsg.mli')
-rw-r--r--toplevel/fhimsg.mli74
1 files changed, 0 insertions, 74 deletions
diff --git a/toplevel/fhimsg.mli b/toplevel/fhimsg.mli
deleted file mode 100644
index 1ab786d1..00000000
--- a/toplevel/fhimsg.mli
+++ /dev/null
@@ -1,74 +0,0 @@
-(************************************************************************)
-(* v * The Coq Proof Assistant / The Coq Development Team *)
-(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
-(* \VV/ **************************************************************)
-(* // * This file is distributed under the terms of the *)
-(* * GNU Lesser General Public License Version 2.1 *)
-(************************************************************************)
-
-(*i $Id: fhimsg.mli 5920 2004-07-16 20:01:26Z herbelin $ i*)
-
-(*i*)
-open Pp
-open Names
-open Term
-open Sign
-open Environ
-open Type_errors
-(*i*)
-
-(* This module provides functions to explain the various typing errors.
- It is parameterized by a function to pretty-print a term in a given
- context. *)
-
-module type Printer = sig
- val pr_term : path_kind -> env -> constr -> std_ppcmds
-end
-
-(*s The result is a module which provides a function [explain_type_error]
- to explain a type error for a given kind in a given env, which are
- usually the three arguments carried by the exception [TypeError]
- (see \refsec{typeerrors}). *)
-
-module Make (P : Printer) : sig
-
-val explain_type_error : path_kind -> env -> type_error -> std_ppcmds
-
-val pr_ne_ctx : std_ppcmds -> path_kind -> env -> std_ppcmds
-
-val explain_unbound_rel : path_kind -> env -> int -> std_ppcmds
-
-val explain_not_type : path_kind -> env -> constr -> std_ppcmds
-
-val explain_bad_assumption : path_kind -> env -> constr -> std_ppcmds
-
-val explain_reference_variables : identifier -> std_ppcmds
-
-val explain_elim_arity :
- path_kind -> env -> constr -> constr list -> constr
- -> unsafe_judgment -> (constr * constr * string) option -> std_ppcmds
-
-val explain_case_not_inductive :
- path_kind -> env -> unsafe_judgment -> std_ppcmds
-
-val explain_number_branches :
- path_kind -> env -> unsafe_judgment -> int -> std_ppcmds
-
-val explain_ill_formed_branch :
- path_kind -> env -> constr -> int -> constr -> constr -> std_ppcmds
-
-val explain_generalization :
- path_kind -> env -> name * types -> constr -> std_ppcmds
-
-val explain_actual_type :
- path_kind -> env -> constr -> constr -> constr -> std_ppcmds
-
-val explain_ill_formed_rec_body :
- path_kind -> env -> guard_error ->
- name array -> int -> constr array -> std_ppcmds
-
-val explain_ill_typed_rec_body :
- path_kind -> env -> int -> name list -> unsafe_judgment array
- -> types array -> std_ppcmds
-
-end