blob: f4e90e40fc2aae933e8d4e02a7f0b253450566b7 (
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
|
T16270.hs:7:1: warning: [-Wtabs (in -Wdefault)]
Tab character found here, and in five further locations.
Please use spaces instead.
T16270.hs:7:12: error:
Unexpected semi-colons in conditional:
if c then False; else True
Perhaps you meant to use DoAndIfThenElse?
T16270.hs:12:8: error:
Unexpected do block in function application:
do 1
You could write it with parentheses
Or perhaps you meant to enable BlockArguments?
T16270.hs:13:8: error:
Unexpected lambda expression in function application:
\ x -> x
You could write it with parentheses
Or perhaps you meant to enable BlockArguments?
T16270.hs:15:6: error:
Illegal datatype context (use DatatypeContexts): Num a =>
T16270.hs:17:22: error:
Illegal record syntax (use TraditionalRecordSyntax): {fst :: a,
snd :: b}
T16270.hs:18:5: error:
Illegal record syntax (use TraditionalRecordSyntax): p {fst = 1,
snd = True}
T16270.hs:20: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:21:8: error:
Unexpected semi-colons in conditional:
if True; then (); else ()
Perhaps you meant to use DoAndIfThenElse?
T16270.hs:23: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:25:12: error: [-Wmissing-space-after-bang (in -Wdefault), -Werror=missing-space-after-bang]
Did you forget to enable BangPatterns?
If you mean to bind (!) then perhaps you want
to add a space after the bang for clarity.
T16270.hs:27:9: error:
Multi-way if-expressions need MultiWayIf turned on
T16270.hs:29:9: error:
Multi-way if-expressions need MultiWayIf turned on
T16270.hs:32:6: Illegal lambda-case (use LambdaCase)
T16270.hs:35:5:
Use NumericUnderscores to allow underscores in integer literals
T16270.hs:37:5:
primitive string literal must contain only characters <= '/xFF'
T16270.hs:43:1: error:
parse error (possibly incorrect indentation or mismatched brackets)
|