diff options
| author | Yishuai Li | 2018-07-25 12:27:17 -0400 |
|---|---|---|
| committer | Yishuai Li | 2018-07-30 13:32:26 -0400 |
| commit | 8a57a4aa808c10f554020e47d5e4173b14bd471d (patch) | |
| tree | db137992a7716be5f27fd18dee6e2a92c4947391 | |
| parent | 1b2decc1bc0db2a58fcc4a4e6e572aed645bab29 (diff) | |
Vector: expose ++ to user
| -rw-r--r-- | CHANGES | 4 | ||||
| -rw-r--r-- | theories/Vectors/VectorDef.v | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -139,6 +139,10 @@ Display diffs between proof steps details. Showing diffs in Proof General requires small changes to PG (under discussion). +Notations + +- Added [++] infix for [VectorDef.append]. + Changes from 8.8.0 to 8.8.1 =========================== diff --git a/theories/Vectors/VectorDef.v b/theories/Vectors/VectorDef.v index f6f3cafa21..ba3e411091 100644 --- a/theories/Vectors/VectorDef.v +++ b/theories/Vectors/VectorDef.v @@ -312,5 +312,6 @@ Notation "h :: t" := (h :: t) (at level 60, right associativity) Notation "[ x ]" := (x :: []) : vector_scope. Notation "[ x ; y ; .. ; z ]" := (cons _ x _ (cons _ y _ .. (cons _ z _ (nil _)) ..)) : vector_scope. Notation "v [@ p ]" := (nth v p) (at level 1, format "v [@ p ]") : vector_scope. +Infix "++" := append : vector_scope. Open Scope vector_scope. End VectorNotations. |
