summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T8883.stderr
blob: c56c434c4c33ad68485e99f88115e21089f1a0e5 (plain)
1
2
3
4
5
6
7
8

T8883.hs:20:1: error:
    • Non type-variable argument in the constraint: Functor (PF a)
      (Use FlexibleContexts to permit this)
    • When checking the inferred type
        fold :: forall {a} {b}.
                (Functor (PF a), Regular a) =>
                (PF a b -> b) -> a -> b