blob: 45d649177a9003a32eb06f9fe9715dba197661b3 (
plain)
1
2
3
4
5
6
7
8
|
mod42.hs:4:10: error:
• Illegal instance declaration for ‘Eq 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’
|