packages feed

patches-vector 0.1.4.3 → 0.1.4.4

raw patch · 2 files changed

+4/−2 lines, 2 files

Files

Data/Patch/Internal.hs view
@@ -334,7 +334,7 @@  -- | Resolve a conflict by always using the right-hand side theirs :: a -> a -> a-theirs = const+theirs = flip const  -- | A convenience version of 'transformWith' which resolves conflicts using 'mappend'. transform :: (Eq a, Monoid a) => Patch a -> Patch a -> (Patch a, Patch a)@@ -343,6 +343,8 @@ -- | Compute the difference between two documents, using the Wagner-Fischer algorithm. O(mn) time and space. -- -- prop> apply (diff d e) d == e+--+-- prop> diff d d == mempty -- -- prop> apply (diff d e) d == apply (inverse (diff e d)) d --
patches-vector.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                patches-vector-version:             0.1.4.3+version:             0.1.4.4 synopsis:            Patches (diffs) on vectors: composable, mergeable, and invertible. description:         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 groupoid, supporting (partial) composition