Skip to content

Update the interface and use PatternSynonyms #14

@L-TChen

Description

@L-TChen

Hi,

I wonder if there is any plan for updating the interface?

It seems a bit outdated and inconsistent with other container packages. For example, Haskell's built-in Finger Tree implementation uses the infix notations (<|), (|>), ><, for lcons, rcons, and append as well as bidirectional pattern synonym. While pattern synonym associated with typeclass is still being developed, it might still be a good idea to revise the interface and add some pattern synonyms.

Probably some would suggest to use Data.Sequence as the general-purpose container, but I find Edison as a collection of special-purpose containers very useful.

By the way, the prefix Edison is a bit obscure ...

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions