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

T7224.hs:7: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:6:16-36
    • 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:8: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:6:16-36
    • 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'’