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

T2846b.hs:5:5: error:
    • No instance for (Show (Num a0 => a0))
        arising from a use of ‘show’
        (maybe you haven't applied a function to enough arguments?)
    • In the expression: show ([1, 2, 3] :: [Num a => a])
      In an equation for ‘f’: f = show ([1, 2, 3] :: [Num a => a])