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