[commit: ghc] master: De-bias Data.Foldable and improve docstrings (e567130)

git at git.haskell.org git at git.haskell.org
Tue Nov 11 08:06:52 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/e56713024e1bfbb7892986800afd9944731b2aa1/ghc

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

commit e56713024e1bfbb7892986800afd9944731b2aa1
Author: David Feuer <David.Feuer at gmail.com>
Date:   Tue Nov 11 08:35:37 2014 +0100

    De-bias Data.Foldable and improve docstrings
    
    Use fewer left/right-biased folds for defaults and
    functions in `Data.Foldable`, to better support things
    that don't look like cons lists.
    
    This also extends the Haddock docstrings in `Data.Foldable`.
    
    Reviewed By: hvr, ekmett
    
    Differential Revision: https://phabricator.haskell.org/D441


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

e56713024e1bfbb7892986800afd9944731b2aa1
 libraries/base/Data/Foldable.hs | 158 +++++++++++++++++++++++++++++++++-------
 1 file changed, 132 insertions(+), 26 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 e56713024e1bfbb7892986800afd9944731b2aa1


More information about the ghc-commits mailing list