Conditionally expose Data.Functor.* modules
authorryan.gl.scott <ryan.gl.scott@gmail.com>
Thu, 17 Dec 2015 17:09:19 +0000 (17:09 +0000)
committerryan.gl.scott <ryan.gl.scott@gmail.com>
Thu, 17 Dec 2015 17:09:19 +0000 (17:09 +0000)
commit506059ed8d3064fc5e8290c90d974066eec9ba9d
treeccf18dd58169bc6d8fb6547d96f89f577c7721e0
parent4c66312b8d72d463dd293d50cc81a885ec588af2
Conditionally expose Data.Functor.* modules

As a part of #11135. This conditionally exposes `Data.Functor.Classes`, `Data.Functor.Compose`, `Data.Functor.Product`, and `Data.Functor.Sum` if using GHC 7.10 or earlier. This also backports `Typeable`, `Data`, `Generic`, and `Generic1` instances that will be introduced in `base-4.9.0.0` (GHC 8.0).
changelog
legacy/pre709/Data/Functor/Identity.hs
legacy/pre711/Data/Functor/Classes.hs [moved from Data/Functor/Classes.hs with 96% similarity]
legacy/pre711/Data/Functor/Compose.hs [moved from Data/Functor/Compose.hs with 67% similarity]
legacy/pre711/Data/Functor/Product.hs [moved from Data/Functor/Product.hs with 74% similarity]
legacy/pre711/Data/Functor/Sum.hs [moved from Data/Functor/Sum.hs with 65% similarity]
transformers.cabal