14.12 - showHouse (Num n) = show n showHouse (Name s) = s...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
--14.12 -- address data House = Num Int | Name String type Name = String type Zip = Int type City = String type Country = String showHouse :: House -> String
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: showHouse (Num n) = show n showHouse (Name s) = s data Address = Address Name House Zip City Country...
View Full Document

Ask a homework question - tutors are online