Skip to content

Add a Monad instance for ((,) w)

Now Monoid is defined in GHC.Base; We can define a reasonable Monad instance for (,) w, as a writer monad.

Trac metadata
Trac field Value
Version 7.8.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC ekmett, hvr
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information