@hackage patches-vector0.1.0.0
A library for patches (diffs) on vectors, composable and invertible.
Installation
Dependencies (4)
- base >=4.7 && <4.9
- edit-distance-vector >=1.0 && <1.1
- microlens >=0.3 && <0.4
- vector >=0.11 && <0.12 Show all…
Dependents (1)
@hackage/dixi
A patch is a collection of modifications (edits) to be made to a sequence of elements. Commonly found in version control systems, patches are also a simple example of a group, supporting composition and inversion.
This library provides a pleasant interface for working with patches to vectors with any type of element. It includes patch composition, inversion, and application, as well as a way to compute a patch between two vectors using the Wagner-Fischer algorithm.