[GHC] #7766: equality constraints exposed by patterns mess up constraint inference
Gabor Greif
ggreif at gmail.com
Wed Mar 13 16:37:51 CET 2013
On 3/13/13, Simon Peyton-Jones <simonpj at microsoft.com> wrote:
> You probably need
> do { (case .... of ...) :: IO ()
> ; return () }
>
> It's not a bug, in other words. The "modular type inference with local
> constraints" paper is a good reference here.
Great, that was the trick!
Thanks again,
Gabor
>
> Simon
More information about the ghc-devs
mailing list