[commit: packages/containers] cleaned_bugfix394, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-408-bugfix_394: Add foldMapWithIndex for Data.Sequence (0a9285c)
git at git.haskell.org
git at git.haskell.org
Mon Apr 17 21:41:43 UTC 2017
- Previous message: [commit: packages/containers] cleaned_bugfix394, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-408-bugfix_394: Merge pull request #245 from Gabriel439/gabriel/cabal_bench_2 (b41c6b3)
- Next message: [commit: packages/containers] cleaned_bugfix394, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-408-bugfix_394: Merge pull request #222 from treeowl/foldMapWithIndexSequence (0612f1c)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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/0a9285c748e175f3e6092570231a52fa340d654c
>---------------------------------------------------------------
commit 0a9285c748e175f3e6092570231a52fa340d654c
Author: David Feuer <David.Feuer at gmail.com>
Date: Thu May 12 20:19:01 2016 -0400
Add foldMapWithIndex for Data.Sequence
This finishes the indexed folds. Implementing `foldrWithIndex`
using this function gives wretched performance, unfortunately.
It would be nice to know why, and whether anything can be done
about that.
Also, clean up some monoid syntax and import `Data.Semigroup`
qualified (we only need it to write one instance).
>---------------------------------------------------------------
0a9285c748e175f3e6092570231a52fa340d654c
Data/Sequence.hs | 126 ++++++++++++++++++++++++++++++++++++++++++------
tests/seq-properties.hs | 14 +++++-
2 files changed, 125 insertions(+), 15 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 0a9285c748e175f3e6092570231a52fa340d654c
- Previous message: [commit: packages/containers] cleaned_bugfix394, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-408-bugfix_394: Merge pull request #245 from Gabriel439/gabriel/cabal_bench_2 (b41c6b3)
- Next message: [commit: packages/containers] cleaned_bugfix394, master, merge-doc-target, merge-fixes-5.9, merge-restrict-fix-5.8, revert-408-bugfix_394: Merge pull request #222 from treeowl/foldMapWithIndexSequence (0612f1c)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ghc-commits
mailing list