Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Agda-like notation for dependent function types

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Agda-like notation for dependent function types


Chronological Thread 
  • 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




Archive powered by MHonArc 2.6.18.

Top of Page