Show instances missing for Identity?

John Wiegley johnw at newartisans.com
Mon Apr 28 20:03:31 UTC 2014


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


More information about the Libraries mailing list