edison icon indicating copy to clipboard operation
edison copied to clipboard

Update the interface and use PatternSynonyms

Open L-TChen opened this issue 6 years ago • 0 comments

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

L-TChen avatar Jan 23 '19 13:01 L-TChen