coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: t x <txrev319 AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: [Coq-Club] idiom for notation dispatching on type
- Date: Mon, 26 Aug 2013 23:36:26 +0000
In short, I want to create a notation which does _different_ things based on the type of the arguments capture.
In particular, I want:Notation "'STARTZ' x 'ENDZ'" = (pZ x)
Notation "'STARTB' x 'ENDB'" = (pBool x)
However, I'd prefer to have one definition of "START x END", and have it do different things based on the type. Is this possible in COq?
Thanks!
Thanks!
- [Coq-Club] idiom for notation dispatching on type, t x, 08/27/2013
- Re: [Coq-Club] idiom for notation dispatching on type, Jason Gross, 08/27/2013
Archive powered by MHonArc 2.6.18.