summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T6022.stderr
blob: a85c6289da894ab72299348b356654b59a6d9d73 (plain)
1
2
3
4
5
6

T6022.hs:3:9: error:
    No instance for (Eq ([a] -> a)) arising from a use of ‘==’
      (maybe you haven't applied a function to enough arguments?)
    In the expression: x == head
    In an equation for ‘f’: f x = x == head