coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "sdk" <sdk AT mathink.net>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] implicit arguments to parameters
- Date: Sun, 01 Jun 2014 16:43:20 +0200
Maybe, let-in and {} may be able to solve half of the problem.
I don't know how to write like:
Definition D1 : Type := forall {T: Type}(x: T), Type.
and I checked that command 'Arguments D1 {T}(x).' rejected.
But, e.g. in definition of DD1, using let-in and {} enable to write A x
instead of A T x:
Definition DD1 ( A0 : D1 ) :=
let A {T:Type}(x: T) := A0 T x in (A 1, A true).
It seems ad-hoc, but I don't have any idea now.
If there is many functions such as DD1, many lets will be needed...
- [Coq-Club] implicit arguments to parameters, Vladimir Voevodsky, 06/01/2014
- Re: [Coq-Club] implicit arguments to parameters, sdk, 06/01/2014
- Re: [Coq-Club] implicit arguments to parameters, Robbert Krebbers, 06/01/2014
- Re: [Coq-Club] implicit arguments to parameters, Jason Gross, 06/02/2014
- Re: [Coq-Club] implicit arguments to parameters, Arnaud Spiwack, 06/03/2014
Archive powered by MHonArc 2.6.18.