summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/mono.stderr
blob: 8f370ce2f0100d34653e19705ee5ddb43bf0d2c7 (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 type: [Bool]
        Actual type: [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