Skip to content

Wrong solution to problem 9 #12

@rokn

Description

@rokn

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions