Skip to content

Add group that returns [NonEmpty a] #422

@NolanDeveloper

Description

@NolanDeveloper

It might be useful to have a group function that has more specific type.

Data.List has group :: Eq a => [a] -> [[a]].

I propose adding group :: Eq a => [a] -> [NonEmpty a] to Relude.NonEmpty and perhaps even hide the old one.

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