diff options
author | Enrico Tassi <gareuselesinge@debian.org> | 2015-01-25 14:43:16 +0100 |
---|---|---|
committer | Enrico Tassi <gareuselesinge@debian.org> | 2015-01-25 14:43:16 +0100 |
commit | f219abfed720305c13875c3c63f9240cf63f78bc (patch) | |
tree | 69d2c026916128fdb50b8d1c0dbf1be451340d30 /toplevel/autoinstance.mli | |
parent | 476d60ef0fe0ac015c1e902204cdd7029e10ef0f (diff) | |
parent | cec4741afacd2e80894232850eaf9f9c0e45d6d7 (diff) |
Merge tag 'upstream/8.5_beta1+dfsg'
Upstream version 8.5~beta1+dfsg
Diffstat (limited to 'toplevel/autoinstance.mli')
-rw-r--r-- | toplevel/autoinstance.mli | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/toplevel/autoinstance.mli b/toplevel/autoinstance.mli deleted file mode 100644 index 6e26a784..00000000 --- a/toplevel/autoinstance.mli +++ /dev/null @@ -1,34 +0,0 @@ -(************************************************************************) -(* v * The Coq Proof Assistant / The Coq Development Team *) -(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2014 *) -(* \VV/ **************************************************************) -(* // * This file is distributed under the terms of the *) -(* * GNU Lesser General Public License Version 2.1 *) -(************************************************************************) - -open Term -open Libnames -open Typeclasses -open Names -open Evd -open Sign - -(** {6 Automatic detection of (some) record instances } *) - -(** What to do if we find an instance. Passed are : the reference - * representing the record/class (definition or constructor) *) -type instance_decl_function = global_reference -> rel_context -> constr list -> unit - -(** [search_declaration gr] Search in the library if the (new) - * declaration gr can form an instance of a registered record/class *) -val search_declaration : global_reference -> unit - -(** [search_record declf gr evm] Search the library for instances of - the (new) record/class declaration [gr], and register them using - [declf]. [evm] is the signature of the record (to avoid recomputing - it) *) -val search_record : instance_decl_function -> global_reference -> evar_map -> unit - -(** Instance declaration for both scenarios *) -val declare_record_instance : instance_decl_function -val declare_class_instance : instance_decl_function |