Title: Auto generated instance codes through 'deriving'

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:[EMAIL PROTECTED]]
Sent:
07 February 2003 06:15
To: [EMAIL PROTECTED]
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

Reply via email to