File: lhs.test

package info (click to toggle)
hlint 3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 980 kB
  • sloc: haskell: 7,035; lisp: 86; makefile: 5
file content (47 lines) | stat: -rw-r--r-- 914 bytes parent folder | download
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 error

---------------------------------------------------------------------
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