coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre-Marie Pédrot <pierre-marie.pedrot AT inria.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Agda-like notation for dependent function types
- Date: Mon, 22 Dec 2014 00:06:41 +0100
On 21/12/2014 23:25, Abhishek Anand wrote:
> Is there some way in Coq to write dependent
> function types in the former way?
Since at least coq trunk, the arrow is a notation defined in the prelude
as follows.
Reserved Notation "x -> y" (at level 99, right associativity, y at level
200).
I believe that using -noinit and tweaking this definition, you may
obtain what you're looking for.
PMP
Attachment:
signature.asc
Description: OpenPGP digital signature
- [Coq-Club] Agda-like notation for dependent function types, Abhishek Anand, 12/21/2014
- Re: [Coq-Club] Agda-like notation for dependent function types, Pierre-Marie Pédrot, 12/22/2014
- Re: [Coq-Club] Agda-like notation for dependent function types, Jason Gross, 12/22/2014
- Re: [Coq-Club] Agda-like notation for dependent function types, Pierre-Marie Pédrot, 12/22/2014
- Re: [Coq-Club] Agda-like notation for dependent function types, Jason Gross, 12/22/2014
- Re: [Coq-Club] Agda-like notation for dependent function types, Pierre-Marie Pédrot, 12/22/2014
Archive powered by MHonArc 2.6.18.