Add more indexed and unsafe functions for Data.Map
authorDavid Feuer <David.Feuer@gmail.com>
Thu, 25 Aug 2016 21:44:51 +0000 (17:44 -0400)
committerDavid Feuer <David.Feuer@gmail.com>
Tue, 30 Aug 2016 20:30:20 +0000 (16:30 -0400)
commit251084a69d7321571e9ef8567a88a75778a570b2
treeddea811c2bc50beb152ef67af26688f22b998f5b
parente268e62fcc45dc37742d9f5c9ca1b95f96e38661
Add more indexed and unsafe functions for Data.Map

* Offer `take`, `drop`, and `splitAt` by index.

* Offer 'takeWhileAntitone`, `dropWhileAntitone`, and `spanAntitone`.
Data/Map/Base.hs
Data/Map/Lazy.hs
Data/Map/Strict.hs
Data/Map/Strict/Internal.hs
tests/map-properties.hs