From 2ee92b2e851c91776ed26b2461304867b0b8c98c Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Mon, 25 Apr 2016 19:04:17 +0200 Subject: Fixing bug #4684: Singleton list notation unusable in 8.5pl1. --- theories/Vectors/VectorDef.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'theories/Vectors') diff --git a/theories/Vectors/VectorDef.v b/theories/Vectors/VectorDef.v index 45c13e5ce..c69223804 100644 --- a/theories/Vectors/VectorDef.v +++ b/theories/Vectors/VectorDef.v @@ -297,7 +297,7 @@ Notation "[]" := [] : vector_scope. Notation "h :: t" := (h :: t) (at level 60, right associativity) : vector_scope. Notation " [ x ] " := (x :: []) : vector_scope. -Notation " [ x ; .. ; y ] " := (cons _ x _ .. (cons _ y _ (nil _)) ..) : 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. Open Scope vector_scope. -- cgit v1.2.3