Skip to Content.
Sympa Menu

coq-club - [Coq-Club] How to make function with implicit arguments

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] How to make function with implicit arguments


Chronological Thread 
  • From: Ilmārs Cīrulis <ilmars.cirulis AT gmail.com>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: [Coq-Club] How to make function with implicit arguments
  • Date: Sun, 27 Oct 2013 00:47:12 +0300

Let's suppose that I'm too lazy and want to use the function
Definition id (t: Type) (l: list t) := l
in 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?



Archive powered by MHonArc 2.6.18.

Top of Page