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

tcfail008.hs:3:7:
    No instance for (Num [a0])
      arising from the literal `2'
    Possible fix: add an instance declaration for (Num [a0])
    In the second argument of `(:)', namely `2'
    In the expression: 1 : 2
    In an equation for `o': o = 1 : 2