summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T7224.stderr
blob: ca1f32c1c274896bfd70b65b47b85d05149031d8 (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: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: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: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'’