coq-club AT inria.fr
Subject: The Coq mailing list
List archive
[Coq-Club] Pierce Software Foundations. Runs fine in Coq 8.4, but error in 8.5.
Chronological Thread
- From: Sriram Srinivasan <sriram AT malhar.net>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Pierce Software Foundations. Runs fine in Coq 8.4, but error in 8.5.
- Date: Tue, 24 Feb 2015 06:20:28 +0000 (UTC)
Can someone explain why the following doesn't work in 8.5beta1?
Thanks much.
Inductive list (X:Type) : Type :=
| nil : list X
| cons : X -> list X -> list X.
Fixpoint length (X:Type) (l:list X) : nat :=
match l with
|nil => 0
|cons h t => S (length X t)
end.
Error: The constructor nil (in type list) expects 1 argument.
- [Coq-Club] Pierce Software Foundations. Runs fine in Coq 8.4, but error in 8.5., Sriram Srinivasan, 02/24/2015
- Re: [Coq-Club] Pierce Software Foundations. Runs fine in Coq 8.4, but error in 8.5., Jason Gross, 02/24/2015
- Re: [Coq-Club] Pierce Software Foundations. Runs fine in Coq 8.4, but error in 8.5., Sriram Srinivasan, 02/24/2015
- Re: [Coq-Club] Pierce Software Foundations. Runs fine in Coq 8.4, but error in 8.5., Guillaume Melquiond, 02/24/2015
- Re: [Coq-Club] Pierce Software Foundations. Runs fine in Coq 8.4, but error in 8.5., Frédéric Blanqui, 02/24/2015
- Re: [Coq-Club] Pierce Software Foundations. Runs fine in Coq 8.4, but error in 8.5., Jason Gross, 02/24/2015
Archive powered by MHonArc 2.6.18.