[commit: packages/containers] cleaned_bugfix394, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-408-bugfix_394: Add more indexed and unsafe functions for Data.Map (251084a)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:44:57 UTC 2017


Repository : ssh://git@git.haskell.org/containers

On branches: cleaned_bugfix394,master,merge-doc-target,merge-fixes-5.9,merge-restrict-fix-5.8,revert-408-bugfix_394
Link       : http://git.haskell.org/packages/containers.git/commitdiff/251084a69d7321571e9ef8567a88a75778a570b2

>---------------------------------------------------------------

commit 251084a69d7321571e9ef8567a88a75778a570b2
Author: David Feuer <David.Feuer at gmail.com>
Date:   Thu Aug 25 17:44:51 2016 -0400

    Add more indexed and unsafe functions for Data.Map
    
    * Offer `take`, `drop`, and `splitAt` by index.
    
    * Offer 'takeWhileAntitone`, `dropWhileAntitone`, and `spanAntitone`.


>---------------------------------------------------------------

251084a69d7321571e9ef8567a88a75778a570b2
 Data/Map/Base.hs            | 124 +++++++++++++++++++++++++++++++++++++++++++-
 Data/Map/Lazy.hs            |  24 ++++-----
 Data/Map/Strict.hs          |   7 +++
 Data/Map/Strict/Internal.hs |  14 ++++-
 tests/map-properties.hs     |  58 +++++++++++++++++++--
 5 files changed, 206 insertions(+), 21 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 251084a69d7321571e9ef8567a88a75778a570b2


More information about the ghc-commits mailing list