Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Recursive Notation

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Recursive Notation


chronological Thread 

Hi! Thanks for your helps in the past.

I'd like to construct pairs, associated to the right. The following
recursive notation works, but if I change the ";" symbols into "," I will
get error messages.

Notation "{| x , .. , y ; z |}" := (pair x ..(pair y z)..).
Check ({|1,2,3;4|}).

Thanks again,
Hao-yang Wang





Archive powered by MhonArc 2.6.16.

Top of Page