aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorletouzey2011-09-05 16:46:48 +0000
committerletouzey2011-09-05 16:46:48 +0000
commitbdf8b4edb650c847f83d520d31f23f14c58233b6 (patch)
tree36c3abf7b5a2a67d2306a7df37fb0cddc0ce025d /lib
parent82406b12adc9f59a186a38f863b0180855314b50 (diff)
Extraction Implicit: fix the numbering of constructor arguments
For constructors, the numbers of parameters used to be wrongly ignored. Consider for instance : Inductive listn (A:Type) : nat -> Type := | niln : listn A 0 | consn : forall n, A -> listn A n -> listn A (S n). Saying "Extraction Implicit consn [n]" should now work correctly, and correspond to the alternative syntax "Extraction Implicit consn [2]", where 2 is the position of the argument n when counting with inductive parameters. Note that saying "Extraction Implicit consn [1]" (or [A]) is now a no-op : constructors have always been cleaned-up from their parameters during extraction. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14449 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions