[Haskell-beginners] Expressing the idea of a group in Haskell