diff options
| author | Hugo Herbelin | 2018-08-01 11:58:11 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2018-08-01 11:58:11 +0200 |
| commit | 3a726a733a0d4c7ea3db30e71829ca27eab1776a (patch) | |
| tree | 9c36f809947ff4c8c2f3aeac716c95eaf33677cb /theories | |
| parent | a257ddce0ef35b8596e71377e9a1967baefebea4 (diff) | |
| parent | 8c14ee1bc5e3daf2c836badf1aadef3ecb87c99c (diff) | |
Merge PR #8151: Vector: expose ++ to user
Diffstat (limited to 'theories')
| -rw-r--r-- | theories/Vectors/VectorDef.v | 1 |
1 files changed, 1 insertions, 0 deletions
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. |
