Skip to content

Commit 07ae506

Browse files
authored
Disable two functor law hints (#1659)
1 parent 93103cf commit 07ae506

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

data/hlint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@
475475
# FUNCTOR
476476

477477
- warn: {lhs: fmap f (fmap g x), rhs: fmap (f . g) x, name: Functor law}
478-
- warn: {lhs: f <$> (g <$> x), rhs: f . g <$> x, name: Functor law}
479-
- warn: {lhs: x <&> g <&> f, rhs: x <&> f . g, name: Functor law}
478+
- ignore: {lhs: f <$> (g <$> x), rhs: f . g <$> x, name: Functor law}
479+
- ignore: {lhs: x <&> g <&> f, rhs: x <&> f . g, name: Functor law}
480480
- warn: {lhs: fmap id, rhs: id, name: Functor law}
481481
- warn: {lhs: id <$> x, rhs: x, name: Functor law}
482482
- warn: {lhs: x <&> id, rhs: x, name: Functor law}

hints.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7256,7 +7256,7 @@ f . g <$> x
72567256
</code>
72577257
<br>
72587258
</td>
7259-
<td>Warning</td>
7259+
<td>Ignore</td>
72607260
</tr>
72617261
<tr>
72627262
<td>Functor law</td>
@@ -7272,7 +7272,7 @@ x <&> f . g
72727272
</code>
72737273
<br>
72747274
</td>
7275-
<td>Warning</td>
7275+
<td>Ignore</td>
72767276
</tr>
72777277
<tr>
72787278
<td>Functor law</td>

0 commit comments

Comments
 (0)