T3811d.hs:6:12: error: Unexpected type ‘D Char’ In the class declaration for ‘C’ A class declaration should have form class C a b c where ...