
#8767: Add rules involving `coerce` to the libraries -------------------------------------------------+------------------------- Reporter: nomeata | Owner: Type: task | Status: new Priority: normal | Milestone: 7.8.1 Component: libraries/base | Version: Resolution: | 7.8.1-rc2 Operating System: Unknown/Multiple | Keywords: Type of failure: None/Unknown | Architecture: Test Case: | Unknown/Multiple tests/simplCore/should_run/T2110.hs | Difficulty: Blocking: | Unknown | Blocked By: 8718 | Related Tickets: #2110 -------------------------------------------------+------------------------- Comment (by goldfire): Right -- of course. I guess I always am thinking that we have to know the `Functor` instance even to be thinking about any of this, because the `Functor` instance might not be lawful, in which case this optimization is bogus. But I do see how you might make progress with yet-to-be-imagined solution. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8767#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler