blob: 6bf77085238031b6f685cde769f427ea0297c8e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
T2204.hs:6:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)]
Pattern match(es) are non-exhaustive
In an equation for ‘f’:
Patterns of type ‘String’ not matched:
[]
(p:_) where p is not one of {'0'}
['0']
('0':p:_) where p is not one of {'1'}
...
T2204.hs:9:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)]
Pattern match(es) are non-exhaustive
In an equation for ‘g’:
Patterns of type ‘Int’ not matched: p where p is not one of {0}
|