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

tcfail040.hs:19:5: error:
    No instance for (ORD a0) arising from a use of ‘<<’
    The type variable ‘a0’ is ambiguous
    Potential instances:
      instance ORD (a -> b) -- Defined at tcfail040.hs:17:10
    In the first argument of ‘(===)’, namely ‘(<<)’
    In the expression: (<<) === (<<)
    In an equation for ‘f’: f = (<<) === (<<)