Skip to content

Commit 736f8d2

Browse files
authored
Merge pull request #1176 from zliu41/unzip
Suggest use of unzip
2 parents 0494921 + e3dda4f commit 736f8d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data/hlint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
- warn: {lhs: all f (map g x), rhs: all (f . g) x}
169169
- warn: {lhs: "zipWith (,)", rhs: zip}
170170
- warn: {lhs: "zipWith3 (,,)", rhs: zip3}
171+
- hint: {lhs: map fst &&& map snd, rhs: unzip}
171172
- hint: {lhs: length x == 0, rhs: null x, note: IncreasesLaziness}
172173
- hint: {lhs: 0 == length x, rhs: null x, note: IncreasesLaziness}
173174
- hint: {lhs: length x < 1, rhs: null x, note: IncreasesLaziness}

0 commit comments

Comments
 (0)