Add restrictKeys and withoutKeys
authorDavid Feuer <David.Feuer@gmail.com>
Tue, 26 Jul 2016 04:05:06 +0000 (00:05 -0400)
committerDavid Feuer <David.Feuer@gmail.com>
Tue, 26 Jul 2016 05:17:36 +0000 (01:17 -0400)
commitf90ab2ff8b78fd16a7486f643b54ff0d11a0c021
treec6f772213926e4b3a05b65128e25f0c0d9b05dc4
parentf24a6f4a32f08810c0f46b72ffe66188caf83d68
Add restrictKeys and withoutKeys

* Add `restrictKeys` and `withoutKeys` to `Data.Map` and
`Data.IntMap`.

* Add tests for the defining properties of these operations.
12 files changed:
Data/IntMap/Base.hs
Data/IntMap/Lazy.hs
Data/IntMap/Strict.hs
Data/Map/Base.hs
Data/Map/Lazy.hs
Data/Map/Strict.hs
Data/Set/Base.hs
Data/Utils/StrictMaybe.hs [new file with mode: 0644]
changelog.md
containers.cabal
tests/intmap-properties.hs
tests/map-properties.hs