Report question

Question: How to define a class that allows uniform access to different records in Haskell?