blob: e0be7ab4e538a19642017b254400128df4e88cb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
overloadedlistsfail02.hs:6:8: error:
• No instance for (GHC.Exts.IsList Foo)
arising from an overloaded list
• In the expression: [7]
In an equation for ‘test’: test = [7]
overloadedlistsfail02.hs:6:9: error:
• No instance for (Num (GHC.Exts.Item Foo))
arising from the literal ‘7’
• In the expression: 7
In the expression: [7]
In an equation for ‘test’: test = [7]
|