summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T9201.stderr
blob: ad873a0d0a06007c4caff76feba999ccce7e431d (plain)
1
2
3
4
5
6
7
8
9
10
11
12

T9201.hs:6:17: error:
    • Expected kind ‘x’, but ‘a’ has kind ‘y’
      ‘y’ is a rigid type variable bound by
        the class declaration for ‘MonoidalCCC’
        at T9201.hs:5:20-49
      ‘x’ is a rigid type variable bound by
        the class declaration for ‘MonoidalCCC’
        at T9201.hs:5:20-49
    • In the first argument of ‘f’, namely ‘a’
      In the second argument of ‘d’, namely ‘(f a)’
      In the type signature: ret :: d a (f a)