Commit 9db005a4 authored byBrowse files
Herbert Valerio Riedel
Add Monad instance for `((,) a)` (#10190)
This was proposed a couple of times in the past, e.g. - https://mail.haskell.org/pipermail/libraries/2011-November/017153.html - https://mail.haskell.org/pipermail/libraries/2013-July/020446.html but its implementation had been blocked by the fact that `Monoid` wasn't in scope where the `Monad` class was defined. Since the AMP/FTP restructuring this is no longer the case.
Showing with 8 additions and 1 deletion