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

T8883.hs:21:1: error:
    • Non type-variable argument in the constraint: Functor (PF a)
    • When checking the inferred type
        fold :: forall {a} {b}.
                (Functor (PF a), Regular a) =>
                (PF a b -> b) -> a -> b
    Suggested fix: Perhaps you intended to use FlexibleContexts