summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-07-26 09:22:08 -0400
committerBen Sima <ben@bsima.me>2022-07-26 09:22:08 -0400
commit08f7ae60b9338472c789b1f21e9b10a555f8b057 (patch)
treeab99e350b6c61177e539787e0d2863922a25c093
parent8e6f6d694b8c183efc64c2dd7becbd2195303fd9 (diff)
Add hlint hints for bind +> and fmap </
-rw-r--r--.hlint.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.hlint.yaml b/.hlint.yaml
index 1ab3ef0..0273398 100644
--- a/.hlint.yaml
+++ b/.hlint.yaml
@@ -71,6 +71,15 @@
note: 'Use `<.`'
rhs: 'f <. g'
+- hint:
+ lhs: 'f >>= g'
+ note: 'Use `+>`'
+ rhs: 'f +> g'
+
+- hint:
+ lhs: 'f <$> g'
+ note: 'Use `</`'
+ rhs: 'f </ g'
#- hint:
# lhs: 'f <. g'
# note: 'Use `.>` for natural reading direction'