summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T11974b.stderr
blob: d9ee113fe87d086f2daba81221c194f4df354621 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

T11974b.hs:5:1: error:
    • The default type ‘Either’ is not an instance of
        ‘Num’ or ‘Show’ or ‘Eq’ or ‘Ord’ or ‘Foldable’ or ‘Traversable’
    • When checking the types in a default declaration

T11974b.hs:5:1: error:
    • The default type ‘Monad’ is not an instance of
        ‘Num’ or ‘Show’ or ‘Eq’ or ‘Ord’ or ‘Foldable’ or ‘Traversable’
    • When checking the types in a default declaration

T11974b.hs:5:1: error:
    • The default type ‘Blah’ is not an instance of
        ‘Num’ or ‘Show’ or ‘Eq’ or ‘Ord’ or ‘Foldable’ or ‘Traversable’
    • When checking the types in a default declaration