summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T7224.stderr
blob: c9d2236206b29f96cf015a1e56028e629661d46d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

T7224.hs:6:19: error:
    • Expected kind ‘i’, but ‘i’ has kind ‘*’
      ‘i’ is a rigid type variable bound by
        the class declaration for ‘PMonad'’
        at T7224.hs:5:21
    • In the first argument of ‘m’, namely ‘i’
      In the type signature: ret' :: a -> m i i a
      In the class declaration for ‘PMonad'’

T7224.hs:7:14: error:
    • Expected kind ‘i’, but ‘i’ has kind ‘*’
      ‘i’ is a rigid type variable bound by
        the class declaration for ‘PMonad'’
        at T7224.hs:5:21
    • In the first argument of ‘m’, namely ‘i’
      In the type signature:
        bind' :: m i j a -> (a -> m j k b) -> m i k b
      In the class declaration for ‘PMonad'’