|
|
|
|
|
by jstepien
5360 days ago
|
|
Speaking of the first example, compiling it with -Wall provides some hints: $ ghc --make test.hs -Wall
test.hs:1:1:
Warning: Pattern match(es) are non-exhaustive
In an equation for `fn':
Patterns not matched: #x with #x `notElem` [0#]
|
|