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

T2846b.hs:5:5:
    No instance for (Show (Num a0 => a0))
      arising from a use of `show'
    The type variable `a0' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    Possible fix: add an instance declaration for (Show (Num a0 => a0))
    In the expression: show ([1, 2, 3] :: [Num a => a])
    In an equation for `f': f = show ([1, 2, 3] :: [Num a => a])