|
Try -ddump-deriv http://haskell.cs.yale.edu/ghc/docs/latest/html/users_guide/options-debugging.html#DUMPING-OUTPUT
Simon
-----Original Message-----
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 |
Title: Auto generated instance codes through 'deriving'
- Auto generated instance codes through 'deriving' Jong Keun Na
- RE: Auto generated instance codes through 'derivin... Simon Peyton-Jones
- RE: Auto generated instance codes through 'derivin... Jong Keun Na
