haskell / haskell-wiki-configuration

Issue tracking for Haskell Wiki
https://wiki.haskell.org/
4 stars 4 forks source link

Wrong solution to problem 9 #12

Closed rokn closed 7 years ago

rokn commented 7 years ago

At the solutions page for problem 9 from the 99 problems : https://wiki.haskell.org/99_questions/Solutions/9

The, currently, second solution is not correct and shouldn't be listed. The solutions text states:

Another simple recursive solution grp [] = [] grp (x:xs) = (x:(filter (==x) xs)):(grp $ filter (/=x) xs)

mignon-p commented 7 years ago

For issues with the content of the wiki, please just edit the wiki. Thanks!