On Mon, Sep 17, 2001 at 12:52:32PM +0100, Ian Lynagh wrote:
> 
> Q.lhs:5: Warning: Pattern match(es) are overlapped in the definition of function 
>`foo':
>             foo 0 = ...

Oh, along similar lines, should the warning not be
"Pattern match(es) are hidden in [...]"
or similar? Overlapping patterns are OK, e.g.

> foo 5 = 0
> foo _ = 2

but the problem comes when they are the other way round so the first one
"hides" the second.


Ian


_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to