aboutsummaryrefslogtreecommitdiffstats
path: root/src/Array/PArray.v
diff options
context:
space:
mode:
authorvblot <24938579+vblot@users.noreply.github.com>2021-08-25 15:18:40 +0200
committervblot <24938579+vblot@users.noreply.github.com>2021-08-25 15:18:40 +0200
commit4fbae4115d10166f7dab7c02cee01b1bacc61ac7 (patch)
tree320363a6c33ab09489c18f85fa7bea8c84f8cbb9 /src/Array/PArray.v
parentfebd484075364d8320393507c5c3faa72142f667 (diff)
parentf4bed7efd425a692661606cd1df239bd507e594f (diff)
downloadsmtcoq-4fbae4115d10166f7dab7c02cee01b1bacc61ac7.tar.gz
smtcoq-4fbae4115d10166f7dab7c02cee01b1bacc61ac7.zip
Merge remote-tracking branch 'origin/coq-8.11' into HEAD
Diffstat (limited to 'src/Array/PArray.v')
-rw-r--r--src/Array/PArray.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Array/PArray.v b/src/Array/PArray.v
index 3c98041..35d68b4 100644
--- a/src/Array/PArray.v
+++ b/src/Array/PArray.v
@@ -101,9 +101,11 @@ Definition length {A:Type} (t:array A) : int :=
Definition copy {A:Type} (t:array A) : array A := t.
+Module Export PArrayNotations.
Delimit Scope array_scope with array.
Notation "t '.[' i ']'" := (get t i) (at level 50) : array_scope.
Notation "t '.[' i '<-' a ']'" := (set t i a) (at level 50) : array_scope.
+End PArrayNotations.
Local Open Scope array_scope.