blob: 0de9206867f5e0910ab8003de7da967b8724108a (
plain)
1
2
3
4
5
6
7
8
9
10
|
T14904a.hs:10:6: error:
• Expected kind ‘forall (a :: k). g a’, but ‘f’ has kind ‘k1’
Cannot equate type variable ‘k1’
with a kind involving polytypes: forall (a :: k). g a
‘k1’ is a rigid type variable bound by
a family instance declaration
at T14904a.hs:10:3-30
• In the first argument of ‘F’, namely ‘(f :: forall a. g a)’
In the type family declaration for ‘F’
|