coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Ilmārs Cīrulis <ilmars.cirulis AT gmail.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] How to make function with implicit arguments
- Date: Sun, 27 Oct 2013 01:14:03 +0300
Okay, it seems that curly braces is enough:
Definition id {t:Type} (l: list t) := l.
Sorry for the disturbance.
Sorry for the disturbance.
On Sun, Oct 27, 2013 at 12:47 AM, Ilmārs Cīrulis <ilmars.cirulis AT gmail.com> wrote:
Let's suppose that I'm too lazy and want to use the functionDefinition id (t: Type) (l: list t) := lin lazy way:Definition test := id (cons 1 nil)(without argument t, because it can be found from the type of the list)
How can I make it in such way, if possible?
- [Coq-Club] How to make function with implicit arguments, Ilmārs Cīrulis, 10/26/2013
- Re: [Coq-Club] How to make function with implicit arguments, Ilmārs Cīrulis, 10/27/2013
- Re: [Coq-Club] How to make function with implicit arguments, Daniel de Rauglaudre, 10/27/2013
- Re: [Coq-Club] How to make function with implicit arguments, Ilmārs Cīrulis, 10/27/2013
Archive powered by MHonArc 2.6.18.