On 22 April 2012 19:11, TP <[email protected]> wrote:
> Hello,
>
> I have a module where I have made several types as instances of the Show
> typeclass.
>
> For debugging purpose, I would like to use the default implementation for Show
> (the one obtained when using "deriving", which shows all the constructors). Is
> there some option to do that, or have I to comment all the Show instances of
> my code, and add "Show" in "deriving (...)" for each of my types? If this is
> the only possibility, is there some script around here to do that
> automatically?

Is there any particular reason you're *not* using the defaults?

>
> Thanks in advance,
>
> TP
>
> _______________________________________________
> Haskell-Cafe mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/haskell-cafe



-- 
Ivan Lazar Miljenovic
[email protected]
http://IvanMiljenovic.wordpress.com

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to