Documentation error Control.Monad.Identity
Closed this issue · 1 comments
fsimen commented
Binding strategy:
The bound function is applied to the input value. Identity x >>= f == Identity (f x)
I think it should be Identity x >>= f == f x.
RyanGlScott commented
Indeed. This was fixed upstream in 452b6b5.