blob: e8cc7971dbf223a466e32f46daf2953eabd421b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<interactive>:5:49: error:
Couldn't match expected type ‘ListableElem (a, a)’
with actual type ‘a’
‘a’ is a rigid type variable bound by
the instance declaration at <interactive>:5:10
In the expression: a
In the expression: [a, b]
Relevant bindings include
b :: a (bound at <interactive>:5:43)
a :: a (bound at <interactive>:5:41)
asList :: (a, a) -> [ListableElem (a, a)]
(bound at <interactive>:5:33)
|