summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/LinearConfusedDollar.stderr
blob: 61d7aa2f45e64b4162b0dee29bbe7247fb4fcbcc (plain)
1
2
3
4
5
6
7
8

LinearConfusedDollar.hs:12:7: error:
    • Couldn't match type ‘'One’ with ‘'Many’
      Expected: a -> a
        Actual: a #-> a
    • In the first argument of ‘($)’, namely ‘f’
      In the expression: f $ x
      In an equation for ‘g’: g x = f $ x