[Haskell-cafe] non-exhaustive pattern match(es)?

Niklas Hambüchen mail at nh2.me
Tue Jun 10 23:25:11 UTC 2014


to the compiler, (<), (==) and (>) are just functions.
It doesn't know that they have anything to do with each other.

Its totality checking works solely on all alternatives given in data
type declarations (separated by `|`s).

Have a look at http://community.haskell.org/~ndm/catch/ for a try to
go beyond that.


On 11/06/14 00:17, Semen Trygubenko / Семен Тригубенко wrote:
> Could someone help me uncover which cases that are not… erm…
> covered by the above patterns?

More information about the Haskell-Cafe mailing list