
#15645: TypeChecking of Monad patterns incorrect with RebindableSyntax and OverloadedStrings -------------------------------------+------------------------------------- Reporter: NeilMitchell | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects | Unknown/Multiple valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): But all you have to do is define `fail = myFail . fromString` and you are done. I suppose you are going to say that you don't want two variants of `fail` in scope. That is a bit more convincing. But now you may get new mysterious messages about missing `IsString` instances arising from invisible code. Make a GHC proposal! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15645#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler