blob: 40a986879e435644f0f8744de10098282d94aec4 (
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
|
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
Perhaps you meant 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 (use TraditionalRecordSyntax): {fst :: a,
snd :: b}
T16270.hs:19:5: error:
Illegal record syntax (use TraditionalRecordSyntax): p {fst = 1,
snd = True}
T16270.hs:21:6: error:
Illegal symbol ‘forall’ in type
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 ()
Perhaps you meant to use DoAndIfThenElse?
T16270.hs:24:10: error:
Illegal keyword 'where' in data declaration
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 (use BangPatterns):
!i
T16270.hs:28:9: error:
Multi-way if-expressions need MultiWayIf turned on
T16270.hs:30:9: error:
Multi-way if-expressions need MultiWayIf turned on
T16270.hs:33:6: error: Illegal lambda-case (use LambdaCase)
T16270.hs:36:5: error:
Use NumericUnderscores to allow underscores in integer literals
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)
|