Hi!

X.hs contains:

module X where
x a = case a of
            "aa"            -> a
            "{"             -> a


> ghc --version
The Glorious Glasgow Haskell Compilation System, version 4.06
> ghc -c X.hs

X.hs:2: Pattern match(es) are overlapped in a group of case alternatives beginning
                                             "aa":
            "{" -> ...


IMNSHO this warning is wrong.

Best Regards,
Matthias Riese

Reply via email to