blob: 7a47f25967c828cf0b9acd8d70a9ca54fb6b6a77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
T14584.hs:56:50: warning: [-Wdeferred-type-errors (in -Wdefault)]
• Could not deduce (m1 ~ *)
from the context: (Action act, Monoid a, Good m1)
bound by the instance declaration at T14584.hs:54:10-89
‘m1’ is a rigid type variable bound by
the instance declaration
at T14584.hs:54:10-89
• In the type ‘a’
In the second argument of ‘fromSing’, namely
‘(sing @m @a :: Sing _)’
In the fourth argument of ‘act’, namely
‘(fromSing @m (sing @m @a :: Sing _))’
T14584.hs:56:60: warning: [-Wpartial-type-signatures (in -Wdefault)]
• Found type wildcard ‘_’ standing for ‘a0 :: m’
Where: ‘a0’ is an ambiguous type variable
‘m’ is a rigid type variable bound by
the instance declaration
at T14584.hs:54:10-89
• In the first argument of ‘Sing’, namely ‘_’
In the type ‘Sing _’
In an expression type signature: Sing _
• Relevant bindings include
monHom :: a -> a (bound at T14584.hs:56:3)
|