[Haskell-cafe] ANN: semialign-extras-0.1.0.0, and a request for help
jack at jackkelly.name
Fri Nov 15 01:39:21 UTC 2019
I have just pushed an initial release of semialign-extras to Hackage.
semialign-extras aims to collect interesting abstractions/operations that:
1. Build on top of (at least) the Semialign typeclass, or related
classes from the semialign universe; and
2. Do not belong inside other packages in the semialign universe.
PRs that serve these goals are most welcome, as are GitHub issues.
Currently, there are two modules:
* Data.Semialign.Diff has diffing/patching for Semialigns; and
* Data.Semialign.Merge has a collection of merge operations for
Semialigns which are also Filterable/Traversable/Witherable
Request for help:
The functions in Data.Semialign.Diff work across a lot of types, but are
are often not the most efficient way to diff. There is a
high-performance merge API for Data.Map.Map in Data.Map.Merge.Lazy,
and it would be great to have some rewrite rules that took advantage of
this. I have been able to write rules that GHC accepts, but not make
them actually fire. I'd be grateful for any assistance people can
More information about the Haskell-Cafe