[Haskell-beginners] question concerning conversion from one type to another