coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Cedric Auger <sedrikov AT gmail.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] How to look up notation definitions?
- Date: Fri, 1 Aug 2014 10:36:56 +0200
2014-08-01 6:59 GMT+02:00 Christopher Ernest Sally <christopherernestsally AT gmail.com>:
As far as I know, ':>' is not a notation, but it is part of the grammar. In these conditions, I hardly see what Locate could do in this respect. At most, all that could be done, would be to add all tokens of the Coq parser in an extended index.
Hmm, not denying Locate's usefulness but doesn't Locate only print out where is symbol is used (which I grant, often does give you what you need)? for example, the other day I wanted to know what ":>" was. Locate ":>". gave
Notation Scope
"x = y :> A" := eq x y : type_scope
(default interpretation)
"x <> y :> T" := not (eq x y) : type_scope
(default interpretation)which didn't really help (I saw :> in the context of record coercions) and I then had to look it up the "normal" way (which for me is grep-ing the pdf manual).BestChris
As far as I know, ':>' is not a notation, but it is part of the grammar. In these conditions, I hardly see what Locate could do in this respect. At most, all that could be done, would be to add all tokens of the Coq parser in an extended index.
On 31 July 2014 15:42, Pierre-Evariste Dagand <pedagand AT gmail.com> wrote:
> is there a good way to look up the definition of a notation or to unfold"Locate" is your friend:
> notations in a goal or hypothesis?
http://coq.inria.fr/refman/Reference-Manual014.html#hevea_command266
Cheers,
--
Pierre-Evariste
--
.../Sedrikov\...
- Re: [Coq-Club] How to look up notation definitions?, Christopher Ernest Sally, 08/01/2014
- Re: [Coq-Club] How to look up notation definitions?, Cedric Auger, 08/01/2014
- Re: [Coq-Club] How to look up notation definitions?, Christopher Ernest Sally, 08/01/2014
- Re: [Coq-Club] How to look up notation definitions?, Cedric Auger, 08/01/2014
Archive powered by MHonArc 2.6.18.