diff options
author | ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-06-06 14:59:02 +0000 |
---|---|---|
committer | ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-06-06 14:59:02 +0000 |
commit | b23c6c6f1158dc247615ded5867c290f18aab1b9 (patch) | |
tree | f0ed29a89e1672fa29549716f78316bf382c8d2c /tactics/eauto.mli | |
parent | fafd64a1322205c3c4e3cae0680e03ea341b1cd8 (diff) |
Uniformizing generic argument types.
Now, instead of having three unrelated types describing a dynamic
type at each level (raw, glob, top), we have a "('a, 'b, 'c) genarg_type"
whose parameters describe the reified type at each level.
This has various advantages:
- No more code duplication to handle the three level separately;
- Safer code: one is not authorized to mix unrelated types when what
was morally expected was a genarg_type.
- Each level-specialized representation can be accessed through
well-typed projections: rawwit, glbwit and topwit.
Documenting a bit Genarg b.t.w.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16564 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/eauto.mli')
-rw-r--r-- | tactics/eauto.mli | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tactics/eauto.mli b/tactics/eauto.mli index 709403a48..00f0cd715 100644 --- a/tactics/eauto.mli +++ b/tactics/eauto.mli @@ -16,10 +16,14 @@ open Environ open Explore val hintbases : hint_db_name list option Pcoq.Gram.entry -val wit_hintbases : hint_db_name list option typed_abstract_argument_type -val rawwit_hintbases : hint_db_name list option raw_abstract_argument_type -val rawwit_auto_using : Genarg.open_constr_expr list raw_abstract_argument_type +val wit_hintbases : hint_db_name list option Genarg.uniform_genarg_type + +val wit_auto_using : + (Genarg.open_constr_expr list, + Genarg.open_glob_constr list, Evd.open_constr list) + Genarg.genarg_type + val e_assumption : tactic |