Proposal: Show and Read for Data.Ord.Down

Erik Hesselink hesselink at gmail.com
Fri Oct 11 23:15:07 UTC 2013


That's exactly the derived instance that would be generated:

instance Show a => Show (Down a) where
  ...

Erik

On Thu, Sep 26, 2013 at 12:59 PM, Herbert Valerio Riedel <hvr at gnu.org> wrote:
> On 2013-09-25 at 15:17:30 +0200, Krzysztof Gogolewski wrote:
>> Hello,
>>
>> I propose to add derived Show and Read instances to Data.Ord.Down. This
>> should be uncontroversial. Any thoughts?
>
> ...wouldn't that require the wrapped type to provide 'Show' as well?
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries



More information about the Libraries mailing list