blob: 226aac2f05c1f68e0fb4c2715a6f3dad0b351bcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<interactive>:12:1:
Unsafe overlapping instances for Pos [Int]
arising from a use of ‛res’
The matching instance is:
instance [overlap ok] [safe] Pos [Int]
-- Defined at <interactive>:10:10
It is compiled in a Safe module and as such can only
overlap instances from the same module, however it
overlaps the following instances from different modules:
instance [overlap ok] [safe] Pos [a] -- Defined at P13_A.hs:6:10
In the expression: res [1 :: Int, 2 :: Int]
In an equation for ‛it’: it = res [1 :: Int, 2 :: Int]
|