coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Cyril Cohen <cohen AT crans.org>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] notations
- Date: Sat, 15 Feb 2014 12:10:04 +0100
Dear Vladimir, Jason and Ian,
On 15/02/2014 01:00, Jason Gross wrote:
So you could do [Notation "'test' x f"
:= (tohfiber f x).], replacing [test] with whatever you want.
Actually putting single quotes around test reserves it as *keyword*, (meaning you won't be able to name anything else "test" again, except as a keyword in another notation), and I discourage you doing this unless you really meant it to be a new keyword of the language.
For now, when you are defining a notation containing no special character I advise that you make an abbreviation* instead:
Notation test x f := (tohfiber f x).
Best regards,
--
Cyril Cohen
* http://coq.inria.fr/refman/Reference-Manual014.html#hevea_command268
- [Coq-Club] notations, Vladimir Voevodsky, 02/15/2014
- Re: [Coq-Club] notations, J. Ian Johnson, 02/15/2014
- Re: [Coq-Club] notations, J. Ian Johnson, 02/15/2014
- Re: [Coq-Club] notations, Vladimir Voevodsky, 02/15/2014
- Re: [Coq-Club] notations, Jason Gross, 02/15/2014
- Re: [Coq-Club] notations, Vladimir Voevodsky, 02/15/2014
- Re: [Coq-Club] notations, Cyril Cohen, 02/15/2014
- Re: [Coq-Club] notations, J. Ian Johnson, 02/15/2014
- Re: [Coq-Club] notations, Jason Gross, 02/15/2014
- Re: [Coq-Club] notations, Vladimir Voevodsky, 02/15/2014
- Re: [Coq-Club] notations, J. Ian Johnson, 02/15/2014
- Re: [Coq-Club] notations, J. Ian Johnson, 02/15/2014
Archive powered by MHonArc 2.6.18.