Migrate Contravariant instances
authorryan.gl.scott <ryan.gl.scott@gmail.com>
Thu, 19 Apr 2018 21:02:38 +0000 (21:02 +0000)
committerryan.gl.scott <ryan.gl.scott@gmail.com>
Thu, 19 Apr 2018 21:02:38 +0000 (21:02 +0000)
commit80557845cdc0e72bc05cec19cf7a1bf5495e9e69
treefaa4940edc0a4665daee5ef917d348d937909ead
parenta4a7a996b303bf62940fb167d0fda56cf10225d0
Migrate Contravariant instances

These were originally defined in the contravariant library. The
Data.Contravariant module will be moved to base in base-4.12
(GHC 8.6), so this commit moves the corresponding instances to
transformers to accommodate the migration.
18 files changed:
Control/Applicative/Backwards.hs
Control/Monad/Trans/Error.hs
Control/Monad/Trans/Except.hs
Control/Monad/Trans/Identity.hs
Control/Monad/Trans/List.hs
Control/Monad/Trans/Maybe.hs
Control/Monad/Trans/RWS/Lazy.hs
Control/Monad/Trans/RWS/Strict.hs
Control/Monad/Trans/Reader.hs
Control/Monad/Trans/State/Lazy.hs
Control/Monad/Trans/State/Strict.hs
Control/Monad/Trans/Writer/Lazy.hs
Control/Monad/Trans/Writer/Strict.hs
Data/Functor/Constant.hs
Data/Functor/Reverse.hs
legacy/pre711/Data/Functor/Compose.hs
legacy/pre711/Data/Functor/Product.hs
legacy/pre711/Data/Functor/Sum.hs