Skip to content

add ordNub somewhere in containers #439

Closed
@gbaz

Description

@gbaz

After dropping the standard ordNub (i.e. this: https://github.com/nh2/haskell-ordnub) code into a codebase for the zillionth time I went and checked the history of why it never made it into a standard lib. It can't go into base because it requires containers or reimplementing Set just for this purpose, which is silly. It doesn't necessarily belong in the Data.Set module. But perhaps it could fall into a new module, like Data.SetUtils or Data.ContainerUtils or the like? Anyway, this package is the most natural place for it to live, even if it doesn't quite fit, and everyone ends up using it everywhere, so it would be really nice to just have a standard for it...

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