Bug in deriving Data Typeable?

Bernd Brassel bbr at informatik.uni-kiel.de
Thu Mar 12 12:02:26 EDT 2009

José Pedro Magalhães wrote:
> Hi Bernd,
> I guess this might be the same issue reported some time ago (
> http://thread.gmane.org/gmane.comp.lang.haskell.generics/53/focus=54): the
> derived instances of Data do not define dataCast1. If you define your own
> instance of Data for MyMaybe and add the definition of dataCast1 you will
> get the expected behavior.

Your link pointed me in the right direction to fix the bug for my
application. Many thanks! Did you submit a bug report?

More information about the Glasgow-haskell-users mailing list