[Haskell-beginners] How to correctly define data types?