Due Wed 22 Jan 2006
So [True, True, False] should "evaluate" to 6.
data Bit = Zero | One deriving (Eq, Ord, Enum, Show)
Re-write the above functions to work with lists of bits rather than lists
of Booleans; re-use as much code as you can, and abstract where possible.