coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adam AT chlipala.net>
- To: Gyesik Lee <gslee AT ropas.snu.ac.kr>
- Cc: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] match goal with "match ... with"
- Date: Fri, 02 Jul 2010 09:08:48 -0400
Gyesik Lee wrote:
Then I tried with
Ltac toto :=
match goal with
| |- context [ match ?T with | _ => _ end ] => idtac
end
The error message now:
Error: Non supported pattern.
For now, you need to supply every pattern-match case, in enough detail to make clear which type you're matching on. It gets bothersomely verbose and prevents genericity, but it makes some sense if you look at the internal representation of Gallina terms.
- [Coq-Club] match goal with "match ... with", Gyesik Lee
- Re: [Coq-Club] match goal with "match ... with", Adam Chlipala
- Re: [Coq-Club] match goal with "match ... with",
Gyesik Lee
- Re: [Coq-Club] match goal with "match ... with", Adam Chlipala
- Re: [Coq-Club] match goal with "match ... with",
Gyesik Lee
- Re: [Coq-Club] match goal with "match ... with", Adam Chlipala
Archive powered by MhonArc 2.6.16.