base: Add instances
authorfumieval <fumiexcel@gmail.com>
Thu, 6 Aug 2015 15:28:04 +0000 (17:28 +0200)
committerBen Gamari <ben@smart-cactus.org>
Thu, 6 Aug 2015 15:28:05 +0000 (17:28 +0200)
commit97843d0b10cac3912a85329ebcb8ed1a68f71b34
tree9844bfcb4ca7d640bdb6ebb30b34c3992d01baf7
parenteca9a1a17c12d01636417fb88bda5ee5fe34577f
base: Add instances

This patch adds following instances:

* Foldable ZipList
* Traversable ZipList
* Functor Complex
* Applicative Complex
* Monad Complex
* Foldable Complex
* Traversable Complex
* Generic1 Complex
* Monoid a => Monoid (Identity a)
* Storable ()

Reviewers: ekmett, fumieval, hvr, austin

Subscribers: thomie, #core_libraries_committee

Projects: #core_libraries_committee

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

GHC Trac Issues: #10609
libraries/base/Control/Applicative.hs
libraries/base/Data/Complex.hs
libraries/base/Data/Functor/Identity.hs
libraries/base/Foreign/Storable.hs
libraries/base/changelog.md