[Haskell-cafe] view patterns
cgibbard at gmail.com
Wed Nov 5 16:15:53 EST 2008
2008/11/5 Cetin Sert <cetin.sert at gmail.com>:
> Warning: Pattern match(es) are overlapped
> In the definition of `emp':
> emp ((has -> True)) = ...
> emp ((has -> False)) = ...
> Why do I get this error in ghc or when I try to compile a file with view
> (using -fglasgow-exts and -XViewPatterns, ghc 6.10.1)
This is a bug which appears to be known about:
More information about the Haskell-Cafe