diff options
| author | herbelin | 2010-06-12 15:18:17 +0000 |
|---|---|---|
| committer | herbelin | 2010-06-12 15:18:17 +0000 |
| commit | d30267620672a939f56fb9d6e161070bbb1112a6 (patch) | |
| tree | 547b4e22f76b63b58f2dc89cb85ac39b561f7b09 /dev/base_include | |
| parent | 175236b1a9183c0a70dfd58d5f7726fb0ab2b629 (diff) | |
Improved the inference of the return predicate in dependent pattern-matching.
More precisely, the mecanism used to automatically infer return
predicates of the form
"as x in I y1..yn match y1..yn x with u1(z1)..un(zn) => P(z1..zn) | _ => ID end"
now computes the dependencies in the types of y1..yn and x. This
allows it to benefit of the generalisation mechanism of the
pattern-matching compilation algorithm ("Abstract") and to infer more
sophisticated return predicates (e.g. when working with "vector").
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13118 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'dev/base_include')
0 files changed, 0 insertions, 0 deletions
