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

T12593.hs:11:16: error:
    • Expected kind ‘k0 -> k1 -> *’, but ‘Free k k1 k2 p’ has kind ‘*’
    • In the type signature:
        run :: k2 q =>
               Free k k1 k2 p a b
               -> (forall (c :: k) (d :: k1). p c d -> q c d) -> q a b

T12593.hs:12:31: error:
    • Expecting one more argument to ‘k’
      Expected a type, but
      ‘k’ has kind
      ‘((k2 -> Constraint) -> k3 -> *) -> Constraint’
    • In the kind ‘k’
      In the type signature:
        run :: k2 q =>
               Free k k1 k2 p a b
               -> (forall (c :: k) (d :: k1). p c d -> q c d) -> q a b