aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-03-30 16:25:11 -0400
committerGravatar Jason Gross <jgross@mit.edu>2017-03-30 16:25:11 -0400
commit0ddbe1be29582a0c6495100f6b6d9ec3d74820ef (patch)
tree72c2f056bbf948eb0afa68f1d541cea1b56cbc44
parented52d20599b1552995c4ad39f2cc6c09f0521e7c (diff)
Use r[_ ~> _] for range rather than b[_ ~> _]
-rw-r--r--src/Util/Notations.v2
-rw-r--r--src/Util/ZRange.v4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Util/Notations.v b/src/Util/Notations.v
index d3bb04bb4..327efb6df 100644
--- a/src/Util/Notations.v
+++ b/src/Util/Notations.v
@@ -82,3 +82,5 @@ Reserved Notation "'λ' x .. y , t" (at level 200, x binder, y binder, right as
Reserved Notation "'λn' x .. y , t" (at level 200, right associativity).
Reserved Notation "x ::> ( max_bitwidth = v )"
(at level 70, no associativity, format "x ::> ( max_bitwidth = v )").
+Reserved Notation "r[ l ~> u ]" (format "r[ l ~> u ]").
+Reserved Notation "b[ l ~> u ]" (format "b[ l ~> u ]").
diff --git a/src/Util/ZRange.v b/src/Util/ZRange.v
index f68b3e5ff..7b9329dca 100644
--- a/src/Util/ZRange.v
+++ b/src/Util/ZRange.v
@@ -47,6 +47,6 @@ Defined.
Module Export Notations.
Delimit Scope zrange_scope with zrange.
- Notation "b[ l ~> u ]" := {| lower := l ; upper := u |}
- (format "b[ l ~> u ]") : zrange_scope.
+ Notation "r[ l ~> u ]" := {| lower := l ; upper := u |}
+ (format "r[ l ~> u ]") : zrange_scope.
End Notations.