diff options
author | Jason Gross <jgross@mit.edu> | 2016-09-29 14:00:34 -0400 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2016-09-29 14:27:46 -0400 |
commit | 1a3fc19d1160cb3896e62a16c8e68c97880c748b (patch) | |
tree | 6ede662b032250b1a225377b9a995d8ff4e4097c /theories/Lists | |
parent | edb55a94fc5c0473e57f5a61c0c723194c2ff414 (diff) |
Move vector/list compat notations to their relevant files
Since edb55a94fc5c0473e57f5a61c0c723194c2ff414 landed, compat notations
no longer modify the parser in non-compat-mode, so we can do this
without breaking Ltac parsing. Also update the related test-suite
files.
Diffstat (limited to 'theories/Lists')
-rw-r--r-- | theories/Lists/List.v | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/theories/Lists/List.v b/theories/Lists/List.v index fc94d7e25..bf21ffb47 100644 --- a/theories/Lists/List.v +++ b/theories/Lists/List.v @@ -27,6 +27,7 @@ Module ListNotations. Notation "[ ]" := nil (format "[ ]") : list_scope. Notation "[ x ]" := (cons x nil) : list_scope. Notation "[ x ; y ; .. ; z ]" := (cons x (cons y .. (cons z nil) ..)) : list_scope. +Notation "[ x ; .. ; y ]" := (cons x .. (cons y nil) ..) (compat "8.4") : list_scope. End ListNotations. Import ListNotations. |