mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-09-11 06:55:38 +03:00
hlint: use =<< rewrite rule
This commit is contained in:
parent
a6c3191dfb
commit
718748f54e
@ -2718,6 +2718,11 @@
|
||||
note: "Monad law"
|
||||
rhs: id
|
||||
|
||||
- hint:
|
||||
lhs: "join (f . pure)"
|
||||
note: "Monad law"
|
||||
rhs: (f =<< pure)
|
||||
|
||||
- hint:
|
||||
lhs: "join . (f <<$>>)"
|
||||
note: "Monad law"
|
||||
|
Loading…
Reference in New Issue
Block a user