[Haskell-beginners] How to link two Types