1 2 3 4 5
TcNoNullaryTC.hs:3:1: No parameters for class ‘A’ (Use MultiParamTypeClasses to allow no-parameter classes) In the class declaration for ‘A’