From 3e782e81b1bec6b34b3a172cb5b951f7ec101041 Mon Sep 17 00:00:00 2001 From: herbelin Date: Mon, 2 Dec 2002 18:25:44 +0000 Subject: Z_scope doit annuler l'affichage de = entre git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3349 85f007b7-540e-0410-9357-904b9bb8a0f7 --- theories/ZArith/Zsyntax.v | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/theories/ZArith/Zsyntax.v b/theories/ZArith/Zsyntax.v index 68cb6dd54d..8d65afb680 100644 --- a/theories/ZArith/Zsyntax.v +++ b/theories/ZArith/Zsyntax.v @@ -250,6 +250,11 @@ Notation "x <> y" := ~(eq Z x y) (at level 5) : Z_scope. (* Notation "| x |" (Zabs x) : Z_scope.(* "|" conflicts with THENS *)*) Notation "|| x ||" := (Zabs x) (at level 1) : Z_scope. +(* Overwrite the printing of "`x = y`" *) +Syntax constr level 0: + Zeq [ (eq Z $n1 $n2) ] -> [[ $n1 [1 0] "= " $n2 ]]. + + (* Warning: this hides sum and prod and breaks sumor symbolic notation *) Open Scope Z_scope. -- cgit v1.2.3