coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Thomas Braibant <thomas.braibant AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: [Coq-Club] "list Set is not coercible to list Type"
- Date: Fri, 20 Apr 2012 23:08:25 +0200
Hi,
I encountered the following behavior, which I find strange....
Inductive b : Type := t1 | t2.
Inductive I : list Type -> Type -> Type :=
| C : I (b :: b :: nil) unit.
The term "I" of type "list Type -> Type -> Type"
cannot be applied to the terms
"b :: b :: nil" : "list Set"
"b" : "Set"
The 1st term has type "list Set" which should be coercible to "list Type".
Could someone explain me what's happening ? NB: I tried to redefine
list by myself, making sure that everything is in Type, but it does
not work either.
Cheers,
Thomas
- [Coq-Club] "list Set is not coercible to list Type", Thomas Braibant
- Re: [Coq-Club] "list Set is not coercible to list Type",
Adam Chlipala
- Re: [Coq-Club] "list Set is not coercible to list Type",
Vladimir Voevodsky
- Re: [Coq-Club] "list Set is not coercible to list Type", Adam Chlipala
- Re: [Coq-Club] "list Set is not coercible to list Type",
Lucian M. Patcas
- Re: [Coq-Club] "list Set is not coercible to list Type", Adam Chlipala
- Re: [Coq-Club] "list Set is not coercible to list Type",
Vladimir Voevodsky
- Re: [Coq-Club] "list Set is not coercible to list Type",
Adam Chlipala
Archive powered by MhonArc 2.6.16.