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

2010-11-11 Thread Simon Peyton-Jones
-ddump-deriv

From: haskell-cafe-boun...@haskell.org 
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of Ozgur Akgun
Sent: 11 November 2010 14:27
To: Haskell cafe
Subject: [Haskell-cafe] ghc dump the code for derived instances

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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2010-11-11 Thread Ozgur Akgun
Thanks!

On 11 November 2010 14:52, Daniel Fischer  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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2010-11-11 Thread Daniel Fischer
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
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe