Skip to content

Commit

Permalink
Add hint to use flip
Browse files Browse the repository at this point in the history
  • Loading branch information
josephcsible authored Oct 2, 2024
1 parent 2a789a9 commit 004ae16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/hlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@
- warn: {lhs: g <**> flip f, rhs: g >>= f, name: Redundant flip}
- warn: {lhs: flip f =<< g, rhs: f <*> g, name: Redundant flip}
- warn: {lhs: g >>= flip f, rhs: g Control.Applicative.<**> f, name: Redundant flip}
- warn: {lhs: ($ x) . f, rhs: flip f x}

# CHAR

Expand Down

0 comments on commit 004ae16

Please sign in to comment.