
#11135: Migrate more of Data.Functor.* from transformers to base. -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: task | Status: upstream Priority: highest | Milestone: 8.0.1 Component: libraries/base | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1543 Wiki Page: | Phab:D1544 Phab:D1630 -------------------------------------+------------------------------------- Comment (by RyanGlScott): Replying to [comment:14 ross]:
I believe I've fixed the Show1/Read1 issue.
Thanks, Ross! There may be time to make this in for GHC 8.0 after all. I've prepared a [http://hub.darcs.net/RyanGlScott/transformers/patch/6550957b47ffd09e5250a507... patch] for `transformers` which does the appropriate `legacy711` migration of the `Data.Functor.*` modules, and backports `Typeable`/`Data`/`Generic`/`Generic1` instances that will be introduced in `base`. Note that there are some [https://ghc.haskell.org/trac/ghc/ticket/10524 bad interactions] between derived classes and `PolyKinds`, so I had to employ a few tricks to get the backported instances to work on old versions of GHC. Nevertheless, I tested my changes against every major version of GHC from 7.0–7.10, so this shouldn't break anything. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11135#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler