blob: b791ea7d8201f4b1d71a19ae42a0695d3ae3bad3 (
plain)
1
2
3
4
5
6
7
|
SimpleFail4.hs:10:3: error:
• Illegal argument ‘Int’ in:
‘type S2 Int = Char’
The arguments to ‘S2’ must all be distinct type variables
• In the default type instance declaration for ‘S2’
In the class declaration for ‘C2’
|