[Haskell-cafe] Pattern matching error

Ketil Malde ketil+haskell at ii.uib.no
Thu Dec 6 16:20:07 EST 2007


"Philip Weaver" <philip.weaver at gmail.com> writes:

> You'll find that the pattern that it's failing to match is:
>
>    [('b',[5,4]),('b',[1]),('b',[6])]

You could also use ghc with -Wall, which will tell you exactly which
cases you've omitted.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants


More information about the Haskell-Cafe mailing list