diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-02-10 15:23:53 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-02-10 15:23:53 +0000 |
commit | 0dcc3068fe5e93ab5583540850c4c2caebc809d2 (patch) | |
tree | 01a3da7f765379dfb82cade625c59c3a04e5418a /theories/Arith | |
parent | 40011bf94b429432065bcd922932deffa87dcbc0 (diff) |
Min, Max: for avoiding inelegant NPeano.max printing, we Export this lib
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12728 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Arith')
-rw-r--r-- | theories/Arith/Max.v | 4 | ||||
-rw-r--r-- | theories/Arith/Min.v | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/theories/Arith/Max.v b/theories/Arith/Max.v index 036b47ba2..592cf489e 100644 --- a/theories/Arith/Max.v +++ b/theories/Arith/Max.v @@ -10,12 +10,12 @@ (** THIS FILE IS DEPRECATED. Use [NPeano.Nat] instead. *) -Require Import NPeano. +Require Export NPeano. Local Open Scope nat_scope. Implicit Types m n p : nat. -Notation max := NPeano.max (only parsing). +Notation max := max (only parsing). Definition max_0_l := Nat.max_0_l. Definition max_0_r := Nat.max_0_r. diff --git a/theories/Arith/Min.v b/theories/Arith/Min.v index 521285a08..788fa6a28 100644 --- a/theories/Arith/Min.v +++ b/theories/Arith/Min.v @@ -10,12 +10,12 @@ (** THIS FILE IS DEPRECATED. Use [NPeano.Nat] instead. *) -Require Import NPeano. +Require Export NPeano. Open Local Scope nat_scope. Implicit Types m n p : nat. -Notation min := NPeano.min (only parsing). +Notation min := min (only parsing). Definition min_0_l := Nat.min_0_l. Definition min_0_r := Nat.min_0_r. |