ghci052.stderr 1.29 KB
Newer Older
1

2
<interactive>:9:4: error:
3 4
    Couldn't match expected type ‘Ghci1.Planet’
                with actual type ‘Planet’
5 6
    NB: ‘Planet’ is defined at <interactive>:8:1-36
        ‘Ghci1.Planet’ is defined at <interactive>:5:1-37
7
    In the first argument of ‘pn’, namely ‘Mercury’
8 9
    In the expression: pn Mercury

10
<interactive>:10:4: error:
11 12
    Couldn't match expected type ‘Ghci1.Planet’
                with actual type ‘Planet’
13 14
    NB: ‘Planet’ is defined at <interactive>:8:1-36
        ‘Ghci1.Planet’ is defined at <interactive>:5:1-37
15
    In the first argument of ‘pn’, namely ‘Venus’
16 17
    In the expression: pn Venus

18
<interactive>:11:4: error:
19 20
    Couldn't match expected type ‘Ghci1.Planet’
                with actual type ‘Planet’
21 22
    NB: ‘Planet’ is defined at <interactive>:8:1-36
        ‘Ghci1.Planet’ is defined at <interactive>:5:1-37
23
    In the first argument of ‘pn’, namely ‘Mars’
24 25
    In the expression: pn Mars

26
<interactive>:13:44: error:
27 28
    Couldn't match expected type ‘Planet’
                with actual type ‘Ghci1.Planet’
29 30
    NB: ‘Ghci1.Planet’ is defined at <interactive>:5:1-37
        ‘Planet’ is defined at <interactive>:8:1-36
31
    In the pattern: Earth
32
    In an equation for ‘pn’: pn Earth = "E"