
In this case it seems that what we want to do is rewrite the left hand side of the new rule itself. Not sure if this is a good idea in general
#10595: BuiltinRules override other rules in some cases. -------------------------------------+------------------------------------- Reporter: gjsimms | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by simonpj): Replying to [comment:5 rwbarton]: though. That sounds delicate and I have no idea what will really happen. The solution I proposed is simple and robust. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10595#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler