From c88eeed5f7e9c2bfa4eeabba0202659fbd999896 Mon Sep 17 00:00:00 2001 From: herbelin Date: Tue, 3 Dec 2002 15:01:42 +0000 Subject: Essai d'introduction d'un scope des types git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3363 85f007b7-540e-0410-9357-904b9bb8a0f7 --- theories/Init/DatatypesSyntax.v | 4 ++-- theories/Init/Prelude.v | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'theories/Init') diff --git a/theories/Init/DatatypesSyntax.v b/theories/Init/DatatypesSyntax.v index 87945b381..52e1328b5 100644 --- a/theories/Init/DatatypesSyntax.v +++ b/theories/Init/DatatypesSyntax.v @@ -12,8 +12,8 @@ Require Export Datatypes. (** Symbolic notations for things in [Datatypes.v] *) -Infix LEFTA 4 "+" sum. -Infix RIGHTA 3 "*" prod. +Infix LEFTA 4 "+" sum : type_scope. +Infix RIGHTA 3 "*" prod : type_scope. Notation "( x , y )" := (pair ? ? x y) (at level 0). Notation Fst := (fst ? ?). Notation Snd := (snd ? ?). diff --git a/theories/Init/Prelude.v b/theories/Init/Prelude.v index 6cdc8d0b4..030ab339e 100755 --- a/theories/Init/Prelude.v +++ b/theories/Init/Prelude.v @@ -17,3 +17,5 @@ Require Export SpecifSyntax. Require Export Peano. Require Export PeanoSyntax. Require Export Wf. + +Delimits Scope type_scope with T. -- cgit v1.2.3