Discussion: GHC.Generics vs. transformers Sum/Product

Edward Kmett ekmett at gmail.com
Thu Feb 18 20:55:04 UTC 2016


We agreed to take a patch to add the missing instances for GHC.Generics.*
in issue #9043.

-Edward

On Thu, Feb 18, 2016 at 3:32 PM, David Feuer <david.feuer at gmail.com> wrote:

> Good point. I forgot about that issue. In any case, I think probably most
> people can agree that the ones in Generics should really have Functor,
> etc., instances?
>
> On Thu, Feb 18, 2016 at 3:27 PM, Henning Thielemann <
> lemming at henning-thielemann.de> wrote:
>
>>
>> On Thu, 18 Feb 2016, David Feuer wrote:
>>
>> Entirely equivalent types, with less pleasant names, appear in
>>> transformers Data.Functor.Sum and Data.Functor.Product, where they are
>>> given plenty of instances. Is there some way to bring these things
>>> together, preferably with the names from GHC.Generics and the instances
>>> from Data.Functor.Sum and Data.Functor.Product?
>>>
>>
>> I prefer the names from 'transformers'. They are Haskell 98, they do not
>> need type-level operators.
>>
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20160218/fe599b30/attachment.html>


More information about the Libraries mailing list