blob: a066fed1f8cb085398faf10bd9abde4ee1d55eac (
plain)
1
2
3
4
5
6
7
8
|
<interactive>:9:1: error: [GHC-43085]
• Overlapping instances for C [Int] arising from a use of ‘f’
Matching instances:
instance [safe] C a => C [a] -- Defined at <interactive>:8:10
instance [safe] C [Int] -- Defined at <interactive>:6:10
• In the expression: f [4 :: Int]
In an equation for ‘it’: it = f [4 :: Int]
|