We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acfce84 commit da47375Copy full SHA for da47375
tests/cmdline.test
@@ -1,12 +1,29 @@
1
---------------------------------------------------------------------
2
-RUN lint tests/cmdline.hs
3
-FILE tests/cmdline.hs
+RUN lint tests/cmdline-lint.hs
+FILE tests/cmdline-lint.hs
4
5
foo = map f (map g xs)
6
7
OUTPUT
8
-tests/cmdline.hs:2:7-22: Suggestion: Use map once
+tests/cmdline-lint.hs:2:7-22: Suggestion: Use map once
9
Found:
10
map f (map g xs)
11
Perhaps:
12
map (f . g) xs
13
+
14
+1 hint
15
16
+---------------------------------------------------------------------
17
+RUN tests/cmdline-bare.hs
18
+FILE tests/cmdline-bare.hs
19
20
+foo = map f (map g xs)
21
22
+OUTPUT
23
+tests/cmdline-bare.hs:2:7-22: Suggestion: Use map once
24
+Found:
25
+ map f (map g xs)
26
+Perhaps:
27
+ map (f . g) xs
28
29
0 commit comments