[Haskell-beginners] Is it possible to implement groupBy using folds?