blob: d5b828049430311f218b47c118b338446a4c7779 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
T2245.hs:4:10: warning: [-Wmissing-methods (in -Wdefault)]
• No explicit implementation for
‘+’, ‘*’, ‘abs’, ‘signum’, ‘fromInteger’, and (either ‘negate’
or
‘-’)
• In the instance declaration for ‘Num T’
T2245.hs:5:10: warning: [-Wmissing-methods (in -Wdefault)]
• No explicit implementation for
‘fromRational’ and (either ‘recip’ or ‘/’)
• In the instance declaration for ‘Fractional T’
T2245.hs:7:27: warning: [-Wtype-defaults (in -Wall)]
• Defaulting the type variable ‘b0’ to type ‘T’ in the following constraints
(Ord b0) arising from a use of ‘<’ at T2245.hs:7:27
(Fractional b0)
arising from the literal ‘1e400’ at T2245.hs:7:29-33
(Read b0) arising from a use of ‘read’ at T2245.hs:7:38-41
• In the expression: (<)
In the first argument of ‘(.)’, namely ‘(< 1e400)’
In the second argument of ‘(.)’, namely ‘(< 1e400) . read’
|