Monoid Instance for ReaderT

M Farkas-Dyck m.farkasdyck at gmail.com
Tue Nov 28 19:22:48 UTC 2017


On 28/11/2017, Andrew Martin <andrew.thaddeus at gmail.com> wrote:
>     instance (Applicative m, Monoid a) => Monoid (ReaderT r m a)

> I believe there is good reason to prefer the first instance over the other
> two.

+1

This is also how the `Monoid` instance of `(->)` is defined.


More information about the Libraries mailing list