diff options
| -rw-r--r-- | theories/Init/Decimal.v | 8 | ||||
| -rw-r--r-- | theories/Init/Prelude.v | 8 |
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). |
