summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T3330a.stderr
blob: 9cd0995a058aeb8f4aee0655590092bfd5797e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

T3330a.hs:19:34:
    Couldn't match type `s' with `(->) (s0 ix1 -> ix1)'
      `s' is a rigid type variable bound by
          the type signature for children :: s ix -> PF s r ix -> [AnyF s]
          at T3330a.hs:18:13
    Expected type: (s0 ix0 -> ix1) -> r ix1 -> Writer [AnyF s] (r ix1)
      Actual type: s ix
    In the first argument of `hmapM', namely `p'
    In the first argument of `execWriter', namely `(hmapM p collect x)'
    In the expression: execWriter (hmapM p collect x)

T3330a.hs:19:36:
    Couldn't match type `ix' with `r ix0 -> Writer [AnyF s0] (r ix0)'
      `ix' is a rigid type variable bound by
           the type signature for children :: s ix -> PF s r ix -> [AnyF s]
           at T3330a.hs:18:15
    Expected type: s0 ix0 -> ix
      Actual type: s0 ix0 -> r ix0 -> Writer [AnyF s0] (r ix0)
    In the second argument of `hmapM', namely `collect'
    In the first argument of `execWriter', namely `(hmapM p collect x)'
    In the expression: execWriter (hmapM p collect x)