blob: 67c8112ee3af51fc6d5c54aa99d2139951beaf21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
werror.hs:6:1: warning: [-Wmissing-signatures (in -Wall)]
Top-level binding with no type signature: main :: IO ()
werror.hs:7:13: warning: [-Wname-shadowing (in -Wall)]
This binding for ‘main’ shadows the existing binding
defined at werror.hs:6:1
werror.hs:7:13: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘main’
werror.hs:8:1: warning: [-Wtabs (in -Wdefault)]
Tab character found here.
Please use spaces instead.
werror.hs:10:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)]
Defined but not used: ‘f’
werror.hs:10:1: warning: [-Wmissing-signatures (in -Wall)]
Top-level binding with no type signature:
f :: forall a1 a2. [a2] -> [a1]
werror.hs:10:1: warning: [-Wincomplete-patterns (in -Wextra)]
Pattern match(es) are non-exhaustive
In an equation for ‘f’: Patterns not matched: (_:_)
werror.hs:11:1: warning: [-Woverlapping-patterns (in -Wdefault)]
Pattern match is redundant
In an equation for ‘f’: f [] = ...
<no location info>: error:
Failing due to -Werror.
|