blob: a83ae86d81c5404db3322f8d6d0a823699e4ff8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
tcfail044.hs:6:20: error:
• Illegal instance declaration for ‘Eq (a -> a)’
(All instance types must be of the form (T a1 ... an)
where a1 ... an are *distinct type variables*,
and each type variable appears at most once in the instance head.
Use FlexibleInstances if you want to disable this.)
• In the instance declaration for ‘Eq (a -> a)’
tcfail044.hs:9:21: error:
• Illegal instance declaration for ‘Num (a -> a)’
(All instance types must be of the form (T a1 ... an)
where a1 ... an are *distinct type variables*,
and each type variable appears at most once in the instance head.
Use FlexibleInstances if you want to disable this.)
• In the instance declaration for ‘Num (a -> a)’
|