File: flag-extension.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 (31 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (2)
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
---------------------------------------------------------------------
RUN tests/directory
FILE tests/directory/File1.hs
 foo = map f . map g
FILE tests/directory/File2.lhs
> foo = map f . map g
OUTPUT
tests/directory/File1.hs:1:8-20: Suggestion: Use map once
Found:
  map f . map g
Perhaps:
  map (f . g)

tests/directory/File2.lhs:1:9-21: Suggestion: Use map once
Found:
  map f . map g
Perhaps:
  map (f . g)

2 hints

---------------------------------------------------------------------
RUN tests/directory --extension=lhs
OUTPUT
tests/directory/File2.lhs:1:9-21: Suggestion: Use map once
Found:
  map f . map g
Perhaps:
  map (f . g)

1 hint