-
Notifications
You must be signed in to change notification settings - Fork 197
/
lhs.test
47 lines (39 loc) · 913 Bytes
/
lhs.test
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
---------------------------------------------------------------------
RUN tests/lhs-line-numbers.lhs
FILE tests/lhs-line-numbers.lhs
BUG 331
> main = print ([1] ++ [2, 3])
OUTPUT
tests/lhs-line-numbers.lhs:3:17-29: Suggestion: Use :
Found:
[1] ++ [2, 3]
Perhaps:
1 : [2, 3]
1 hint
---------------------------------------------------------------------
RUN tests/lhs-line-numbers2.lhs
FILE tests/lhs-line-numbers2.lhs
BUG 331
% Blah1
% Blah2
% Blah3
\begin{code}
module
\end{code}
OUTPUT
tests/lhs-line-numbers2.lhs:10:1: Error: Parse error: possibly incorrect indentation or mismatched brackets
Found:
\end{code}
>
1 hint
---------------------------------------------------------------------
RUN tests/lhs-first-line.lhs
FILE tests/lhs-first-line.lhs
> main = print ([1] ++ [2, 3])
OUTPUT
tests/lhs-first-line.lhs:1:17-29: Suggestion: Use :
Found:
[1] ++ [2, 3]
Perhaps:
1 : [2, 3]
1 hint