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