:9:12: error: Couldn't match expected type ‘Ghci1.Planet’ with actual type ‘Planet’ NB: ‘Planet’ is defined at :7:1-41 ‘Ghci1.Planet’ is defined at :4:1-49 In the second argument of ‘(==)’, namely ‘Mercury’ In the expression: mercury == Mercury In an equation for ‘it’: it = mercury == Mercury :11:10: error: Couldn't match expected type ‘Planet’ with actual type ‘Ghci1.Planet’ NB: ‘Ghci1.Planet’ is defined at :4:1-49 ‘Planet’ is defined at :7:1-41 In the second argument of ‘(==)’, namely ‘Earth’ In the expression: Venus == Earth In an equation for ‘it’: it = Venus == Earth