haskell/mtl

Documentation error Control.Monad.Identity

Closed this issue · 1 comments

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.

Indeed. This was fixed upstream in 452b6b5.