[containers] Proposal: Change to the Data.Map Monoid

Edward Kmett ekmett at gmail.com
Wed May 21 14:53:37 UTC 2014


I find myself rather hesitant to recommend that instantiation of the idea
ever since it exploded into a half-dozen packages full of orphan instances,
but yes.

-Edward


On Wed, May 21, 2014 at 6:38 AM, Herbert Valerio Riedel <hvr at gnu.org> wrote:

> On 2014-05-21 at 00:23:44 +0200, Andreas Abel wrote:
> >>> _Lots_ of users initialize empty maps with mempty
> >
> > Well, this is another issue, empty should be overloaded via
> >
> > class Empty a where
> >   empty :: a
>
> Btw, isn't this what
>
>   http://hackage.haskell.org/package/data-default
>
> provides?
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20140521/e99072e8/attachment.html>


More information about the Libraries mailing list