diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a39fdb1e69d39c0c0a08834685e893711f38c3c..7f41236ade36fbfd9efb6e66ea29c3982db4fa5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ This file lists "large-ish" changes to the std++ Coq library, but not every 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 Coq 8.13 is newly supported by this release, Coq 8.8 and 8.9 are no longer diff --git a/theories/base.v b/theories/base.v index 812635a402860f8b6203a0c547a8242324e3cd45..81f9078bf95e40c552b2bef27c67e974ea4cf775 100644 --- a/theories/base.v +++ b/theories/base.v @@ -865,10 +865,6 @@ Notation "{[ x ]}" := (singleton x) (at level 1) : stdpp_scope. Notation "{[ x ; y ; .. ; z ]}" := (union .. (union (singleton x) (singleton y)) .. (singleton z)) (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. Global Hint Mode SubsetEq ! : typeclass_instances.