Exhaustive Pattern-Matching
Simon Marlow
simonmar@microsoft.com
Fri, 29 Aug 2003 09:43:33 +0100
=20
> On Wed, Aug 27, 2003 at 04:57:27PM +0100, Simon Marlow wrote:
>=20
> > GHC tries to do so, but sometimes gets it wrong. See the
> > -fwarn-incomplete-patterns flag. We'd appreciate it if=20
> someone could
> > overhaul this code - it's been on the wish list for a long time.
>=20
> As a matter of curiosity, do you have some examples as to when GHC
> gets it wrong?
There's one in the bug database:
http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D485324&group=
_id
=3D8032&atid=3D108032
And I think a couple more have been reported on ghc-bugs, Google should
be able to find them.
Cheers,
Simon