Skip to content
Snippets Groups Projects
Commit 6d001c9d authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Merge branch 'robbert/remove_old_set_notations' into 'master'

Remove singleton notations for tuples

See merge request iris/stdpp!233
parents 9a0f8631 f2aa0ebd
No related branches found
No related tags found
No related merge requests found
This file lists "large-ish" changes to the std++ Coq library, but not every This file lists "large-ish" changes to the std++ Coq library, but not every
API-breaking change is listed. API-breaking change is listed.
## std++ master
- Remove singleton notations `{[ x,y ]}` and `{[ x,y,z ]}` for `{[ (x,y) ]}`
and `{[ (x,y,z) ]}`. They date back to the time we used the `singleton` class
with a product for maps (there's now the `singletonM` class).
## std++ 1.5.0 ## std++ 1.5.0
Coq 8.13 is newly supported by this release, Coq 8.8 and 8.9 are no longer Coq 8.13 is newly supported by this release, Coq 8.8 and 8.9 are no longer
......
...@@ -865,10 +865,6 @@ Notation "{[ x ]}" := (singleton x) (at level 1) : stdpp_scope. ...@@ -865,10 +865,6 @@ Notation "{[ x ]}" := (singleton x) (at level 1) : stdpp_scope.
Notation "{[ x ; y ; .. ; z ]}" := Notation "{[ x ; y ; .. ; z ]}" :=
(union .. (union (singleton x) (singleton y)) .. (singleton z)) (union .. (union (singleton x) (singleton y)) .. (singleton z))
(at level 1) : stdpp_scope. (at level 1) : stdpp_scope.
Notation "{[ x , y ]}" := (singleton (x,y))
(at level 1, y at next level) : stdpp_scope.
Notation "{[ x , y , z ]}" := (singleton (x,y,z))
(at level 1, y at next level, z at next level) : stdpp_scope.
Class SubsetEq A := subseteq: relation A. Class SubsetEq A := subseteq: relation A.
Global Hint Mode SubsetEq ! : typeclass_instances. Global Hint Mode SubsetEq ! : typeclass_instances.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment