coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adam AT chlipala.net>
- To: Adam Megacz <megacz AT cs.berkeley.edu>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Re: more generous context when typing branches of [match]?
- Date: Thu, 25 Mar 2010 14:03:17 -0400
Adam Megacz wrote:
Adam
Chlipala<adam AT chlipala.net>
writes:
I think your function definition has a typo, where the last twoNo, I really did mean to put them in that order.
recursive arguments to [next] are reversed.
Changing the order of the arguments certainly gives you something that
type-checks, but it's a different program which no longer illustrates
the problem.
The order you chose couldn't possibly work. Even if this were a Lisp program and we treated types as predicates proved after-the-fact, the program you gave couldn't "type-check" at the type you gave.
- [Coq-Club] more generous context when typing branches of [match]?, Adam Megacz
- Re: [Coq-Club] more generous context when typing branches of [match]?, Damien Pous
- Re: [Coq-Club] more generous context when typing branches of [match]?, Adam Chlipala
- Re: [Coq-Club] more generous context when typing branches of [match]?,
Matthew Brecknell
- [Coq-Club] Re: more generous context when typing branches of [match]?,
Adam Megacz
- Re: [Coq-Club] Re: more generous context when typing branches of [match]?,
Adam Chlipala
- Re: [Coq-Club] Re: more generous context when typing branches of [match]?, Adam Chlipala
- [Coq-Club] Re: more generous context when typing branches of [match]?,
Adam Megacz
- Re: [Coq-Club] Re: more generous context when typing branches of [match]?, Adam Chlipala
- Re: [Coq-Club] Re: more generous context when typing branches of [match]?,
Adam Chlipala
- [Coq-Club] Re: more generous context when typing branches of [match]?,
Adam Megacz
Archive powered by MhonArc 2.6.16.