edison
edison copied to clipboard
Update the interface and use PatternSynonyms
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