Try -ddump-deriv
http://haskell.cs.yale.edu/ghc/docs/latest/html/users_guide/options-debugging.html#DUMPING-OUTPUT
Simon
-----Original Message-----
From: Jong
Keun Na
[mailto:jongkn@microsoft.com]
Sent: 07
February 2003 06:15
To: haskell-cafe@haskell.org
Subject: Auto generated instance
codes through 'deriving'
Hello folks,
Is there any method with which I can see instance’s codes generated automatically by using ‘deriving’ keyword in GHC?
I’m curious in how GHC generates ‘Read’ class’s instance code for user-defined data type.
Any help will be great appreciated.
/JongKeun