Show instances missing for Identity?

Edward Kmett ekmett at gmail.com
Mon Apr 28 20:05:21 UTC 2014


Already done.

http://code.haskell.org/~ross/transformers/dist/doc/html/transformers/Data-Functor-Identity.html

AFAIK, it'll tentatively go out Wednesday after I catch mtl up to working
with transformers 0.4

-Edward


On Mon, Apr 28, 2014 at 4:03 PM, John Wiegley <johnw at newartisans.com> wrote:

> I'm wondering if there is a reason why this is missing, but if not, I
> proposed
> adding the following to Data.Functor.Identity.
>
>     instance Show a => Show (Identity a) where
>         show (Identity x) = "Identity " ++ show x
>
> John
> _______________________________________________
> 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/20140428/00276719/attachment-0001.html>


More information about the Libraries mailing list