hlint: use =<< rewrite rule

This commit is contained in:
Anton-Latukha 2021-11-07 16:14:13 +02:00
parent a6c3191dfb
commit 718748f54e
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41

View File

@ -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"