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