T7019.hs:11:1: error: ā€¢ Illegal polymorphic type: forall a. c (Free c a) A constraint must be a monotype Perhaps you intended to use QuantifiedConstraints ā€¢ In the type synonym declaration for ā€˜Cā€™