diff options
author | 2011-10-10 22:00:22 +0000 | |
---|---|---|
committer | 2011-10-10 22:00:22 +0000 | |
commit | 698c79dc28a13baf864c863800a2b48690207e34 (patch) | |
tree | be1e74ff347d09ef9fabee5ab2d6efa36caedcf2 /pretyping/typing.ml | |
parent | 604b9cdff3b5bae0be66b4ab93cf06a21a59a496 (diff) |
Applied the trick of Chung-Kil Hur to solve second-order matching
problems with dependencies. Generalized it to matching over dependent
tuples as explored by Dan Grayson. Currently used only in Evarconv.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14538 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/typing.ml')
-rw-r--r-- | pretyping/typing.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pretyping/typing.ml b/pretyping/typing.ml index 85abe2569..2298209af 100644 --- a/pretyping/typing.ml +++ b/pretyping/typing.ml @@ -227,4 +227,6 @@ let solve_evars env evd c = let evdref = ref evd in let c = (execute env evdref c).uj_val in (* side-effect on evdref *) - nf_evar !evdref c + !evdref, nf_evar !evdref c + +let _ = Evarconv.set_solve_evars solve_evars |