aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Letouzey2018-03-12 17:21:04 +0100
committerJason Gross2018-08-31 20:05:53 -0400
commit44638cda2f8f7461506a6e5a9a2edf860971f96c (patch)
treee8cb2c98cd71838a9b51f91848e035cf4f4f9528
parent377188d7bfd27518e6ab47d5017907b1f527a7dd (diff)
Decimal: scope name changed dec_(u)int_scope
This avoid a clash with int_scope in ssreflect's ssrint.v
-rw-r--r--theories/Init/Decimal.v8
-rw-r--r--theories/Init/Prelude.v8
2 files changed, 8 insertions, 8 deletions
diff --git a/theories/Init/Decimal.v b/theories/Init/Decimal.v
index 34b4e75814..1ff00ec11c 100644
--- a/theories/Init/Decimal.v
+++ b/theories/Init/Decimal.v
@@ -42,10 +42,10 @@ Notation zero := (D0 Nil).
Inductive int := Pos (d:uint) | Neg (d:uint).
-Delimit Scope uint_scope with uint.
-Bind Scope uint_scope with uint.
-Delimit Scope int_scope with int.
-Bind Scope int_scope with int.
+Delimit Scope dec_uint_scope with uint.
+Bind Scope dec_uint_scope with uint.
+Delimit Scope dec_int_scope with int.
+Bind Scope dec_int_scope with int.
(** This representation favors simplicity over canonicity.
For normalizing numbers, we need to remove head zero digits,
diff --git a/theories/Init/Prelude.v b/theories/Init/Prelude.v
index e8997d30b8..6d98bcb34a 100644
--- a/theories/Init/Prelude.v
+++ b/theories/Init/Prelude.v
@@ -28,12 +28,12 @@ Declare ML Module "ground_plugin".
Declare ML Module "numeral_notation_plugin".
(* Parsing / printing of decimal numbers *)
-Arguments Nat.of_uint d%uint_scope.
-Arguments Nat.of_int d%int_scope.
+Arguments Nat.of_uint d%dec_uint_scope.
+Arguments Nat.of_int d%dec_int_scope.
Numeral Notation Decimal.uint Decimal.uint_of_uint Decimal.uint_of_uint
- : uint_scope.
+ : dec_uint_scope.
Numeral Notation Decimal.int Decimal.int_of_int Decimal.int_of_int
- : int_scope.
+ : dec_int_scope.
(* Parsing / printing of [nat] numbers *)
Numeral Notation nat Nat.of_uint Nat.to_uint : nat_scope (abstract after 5000).