blob: b4460b9cce0b820cad6cbd5ec76c021718fa65f5 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
T16270.hs:3:13: warning: [-Wdeprecated-flags (in -Wdefault)]
-Werror=missing-space-after-bang is deprecated: bang patterns can no longer be written with a space
T16270.hs:8:1: warning: [-Wtabs (in -Wdefault)]
Tab character found here, and in five further locations.
Suggested fix: Please use spaces instead.
T16270.hs:8:12: error:
Unexpected semi-colons in conditional:
if c then False; else True
Suggested fix: Perhaps you intended to use DoAndIfThenElse
T16270.hs:13:8: error:
Unexpected do block in function application:
do 1
Suggested fixes:
Use parentheses.
Perhaps you intended to use BlockArguments
T16270.hs:14:8: error:
Unexpected lambda expression in function application:
\ x -> x
Suggested fixes:
Use parentheses.
Perhaps you intended to use BlockArguments
T16270.hs:18:22: error:
Illegal record syntax: {fst :: a, snd :: b}
Suggested fix: Perhaps you intended to use TraditionalRecordSyntax
T16270.hs:19:5: error:
Illegal record syntax: p {fst = 1, snd = True}
Suggested fix: Perhaps you intended to use TraditionalRecordSyntax
T16270.hs:21:6: error:
Illegal symbol ‘forall’ in type
Suggested fix:
Perhaps you intended to use RankNTypes
or a similar language extension to enable explicit-forall syntax: forall <tvs>. <type>
T16270.hs:22:8: error:
Unexpected semi-colons in conditional:
if True; then (); else ()
Suggested fix: Perhaps you intended to use DoAndIfThenElse
T16270.hs:24:10: error:
Illegal keyword 'where' in data declaration
Suggested fix:
Perhaps you intended to use GADTs
or a similar language extension to enable syntax: data T where
T16270.hs:26:12: error:
Illegal bang-pattern
!i
Suggested fix: Perhaps you intended to use BangPatterns
T16270.hs:28:9: error:
Illegal multi-way if-expression
Suggested fix: Perhaps you intended to use MultiWayIf
T16270.hs:30:9: error:
Illegal multi-way if-expression
Suggested fix: Perhaps you intended to use MultiWayIf
T16270.hs:33:6:
Illegal \case
Suggested fix: Perhaps you intended to use LambdaCase
T16270.hs:36:5: error:
Illegal underscores in integer literals
Suggested fix: Perhaps you intended to use NumericUnderscores
T16270.hs:38:5: error:
primitive string literal must contain only characters <= '\xFF'
T16270.hs:40:7: error: A lambda requires at least one parameter
T16270.hs:46:1: error:
parse error (possibly incorrect indentation or mismatched brackets)
|