[Haskell-cafe] ghc dump the code for derived instances

1 view
Skip to first unread message

Ozgur Akgun

unread,
Nov 11, 2010, 9:27:09 AM11/11/10
to Haskell cafe
Café,

Is there a way to make GHC dump the code for auto-derived type class instances, say for Show, Eq and such?

Thanks,
Ozgur

Daniel Fischer

unread,
Nov 11, 2010, 9:52:41 AM11/11/10
to haskel...@haskell.org
On Thursday 11 November 2010 15:27:09, Ozgur Akgun wrote:
> Café,
>
> Is there a way to make GHC dump the code for auto-derived type class
> instances, say for Show, Eq and such?

-ddump-deriv

>
> Thanks,
> Ozgur

_______________________________________________
Haskell-Cafe mailing list
Haskel...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Ozgur Akgun

unread,
Nov 11, 2010, 10:58:12 AM11/11/10
to Daniel Fischer, haskel...@haskell.org
Thanks!


On 11 November 2010 14:52, Daniel Fischer <daniel.i...@web.de> wrote:
On Thursday 11 November 2010 15:27:09, Ozgur Akgun wrote:
> Café,
>
> Is there a way to make GHC dump the code for auto-derived type class
> instances, say for Show, Eq and such?

-ddump-deriv

>
> Thanks,
> Ozgur




--
Ozgur Akgun

Simon Peyton-Jones

unread,
Nov 11, 2010, 12:43:18 PM11/11/10
to Ozgur Akgun, Haskell cafe

-ddump-deriv

Reply all
Reply to author
Forward
0 new messages