T5951.hs:8:8: error:
Illegal class instance: ‘A => B => C’ Class instances must be of the form context => C ty_1 ... ty_n where ‘C’ is a class