Re: [Haskell-beginners] Shorten this code