From c6b7e7121533362b812d4360c19ae01f3f117351 Mon Sep 17 00:00:00 2001 From: herbelin Date: Tue, 23 Dec 2003 18:38:35 +0000 Subject: Finalement, espacement autour du ':' pour a la fois exists, forall et fun git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@5135 85f007b7-540e-0410-9357-904b9bb8a0f7 --- theories/Init/Logic.v | 4 ++-- theories7/Init/Logic.v | 4 ++-- translate/ppconstrnew.ml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/theories/Init/Logic.v b/theories/Init/Logic.v index 9e755c9288..31ce20ad3f 100755 --- a/theories/Init/Logic.v +++ b/theories/Init/Logic.v @@ -121,14 +121,14 @@ Definition all (A:Type) (P:A -> Prop) := forall x:A, P x. Notation "'exists' x , p" := (ex (fun x => p)) (at level 200, x ident) : type_scope. Notation "'exists' x : t , p" := (ex (fun x:t => p)) - (at level 200, x ident, format "'exists' '/ ' x : t , '/ ' p") + (at level 200, x ident, format "'exists' '/ ' x : t , '/ ' p") : type_scope. Notation "'exists2' x , p & q" := (ex2 (fun x => p) (fun x => q)) (at level 200, x ident, p at level 200) : type_scope. Notation "'exists2' x : t , p & q" := (ex2 (fun x:t => p) (fun x:t => q)) (at level 200, x ident, t at level 200, p at level 200, - format "'exists2' '/ ' x : t , '/ ' '[' p & '/' q ']'") + format "'exists2' '/ ' x : t , '/ ' '[' p & '/' q ']'") : type_scope. diff --git a/theories7/Init/Logic.v b/theories7/Init/Logic.v index ea8fb60abd..318b588a89 100755 --- a/theories7/Init/Logic.v +++ b/theories7/Init/Logic.v @@ -131,7 +131,7 @@ Notation "'EX' x | p" := (ex ? [x]p) Notation "'EX' x : t | p" := (ex ? [x:t]p) (at level 10, p at level 8) : type_scope V8only "'exists' x : t , p" (at level 200, x ident, p at level 99, format - "'exists' '/ ' x : t , '/ ' p"). + "'exists' '/ ' x : t , '/ ' p"). V7only [ Notation Ex2 := (ex2 ?). ]. Notation "'EX' x | p & q" := (ex2 ? [x]p [x]q) @@ -141,7 +141,7 @@ Notation "'EX' x : t | p & q" := (ex2 ? [x:t]p [x:t]q) (at level 10, p, q at level 8) : type_scope V8only "'exists2' x : t , p & q" (at level 200, x ident, t at level 200, p, q at level 99, format - "'exists2' '/ ' x : t , '/ ' '[' p & '/' q ']'"). + "'exists2' '/ ' x : t , '/ ' '[' p & '/' q ']'"). V7only [Notation All := (all ?). Notation "'ALL' x | p" := (all ? [x]p) diff --git a/translate/ppconstrnew.ml b/translate/ppconstrnew.ml index 4c5821dcc1..128cd148f7 100644 --- a/translate/ppconstrnew.ml +++ b/translate/ppconstrnew.ml @@ -151,7 +151,7 @@ let pr_binder many pr (nal,t) = match t with | CHole _ -> prlist_with_sep sep (pr_located pr_name) nal | _ -> - let s = prlist_with_sep sep (pr_located pr_name) nal ++ str ":" ++ pr t in + let s = prlist_with_sep sep (pr_located pr_name) nal ++ str" : " ++ pr t in hov 1 (if many then surround s else s) let pr_binder_among_many pr_c = function -- cgit v1.2.3