blob: f7f1801cae3a49ec6a3c6f682eb0fd3f8c7f6f80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
T18960b.hs:11:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)]
Pattern match(es) are non-exhaustive
In a case alternative:
Patterns of type ‘((), String)’ not matched:
(_, _)
P ((), [])
P ((), (p:_)) where p is not one of {'h'}
P ((), ['h'])
...
T18960b.hs:18:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)]
Pattern match(es) are non-exhaustive
In a case alternative:
Patterns of type ‘((), String)’ not matched:
(_, _)
P ((), [])
P ((), (p:_)) where p is not one of {'h'}
P ((), ['h'])
...
|