blob: eed8878170a9dc2a38361809150a432157381355 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
T7279.hs:6:10: error:
• Could not deduce (Show b0)
from the context: (Eq a, Show b)
bound by an instance declaration:
forall a b. (Eq a, Show b) => Eq (T a)
at T7279.hs:6:10-35
The type variable ‘b0’ is ambiguous
• In the ambiguity check for an instance declaration
To defer the ambiguity check to use sites, enable AllowAmbiguousTypes
In the instance declaration for ‘Eq (T a)’
|