summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/mono.stderr
blob: 264579f91b5a8dfe2138aee0d3498d7c2baff743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

mono.hs:7:4: error:
    • Couldn't match type ‘Bool’ with ‘Int’
      Expected: [Bool]
        Actual: [Int]
    • In the pattern: Single x
      In an equation for ‘f’: f (Single x) = x

mono.hs:7:16: error:
    • Couldn't match expected type ‘Bool’ with actual type ‘Int’
    • In the expression: x
      In an equation for ‘f’: f (Single x) = x