Update and improve documentation in Data.Foldable
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 21 Jan 2016 13:51:01 +0000 (14:51 +0100)
committerBen Gamari <ben@smart-cactus.org>
Thu, 21 Jan 2016 13:59:06 +0000 (14:59 +0100)
commit7cb893f562346d5aa986bd88863335aabbf7e95f
treebcd5cdbc4bee3e52bc68638b5cd82cba0b6f7063
parent3883f99c7ea99204a2f15c1e4b7521a4c0b1c527
Update and improve documentation in Data.Foldable

Previously there were a few obsolete references to `Data.List` and
the descriptions were lacking examples.

Fixes #11065.

Test Plan: Read it.

Reviewers: ekmett, goldfire, hvr, austin

Reviewed By: hvr

Subscribers: nomeata, thomie

Differential Revision: https://phabricator.haskell.org/D1617

GHC Trac Issues: #11065
libraries/base/Data/Foldable.hs