summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T7224.stderr
blob: 9ef09aed7b605671cbfcb21b259aecf6eb87de02 (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: [GHC-25897]
    • 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: [GHC-25897]
    • 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'’