Name : ghc-tree-diff
| |
Version : 0.2.1.1
| Vendor : openSUSE
|
Release : bp154.1.16
| Date : 2022-05-09 13:06:26
|
Group : Unspecified
| Source RPM : ghc-tree-diff-0.2.1.1-bp154.1.16.src.rpm
|
Size : 0.55 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : Diffing of (expression) trees
|
Description :
Common diff algorithm works on list structures:
\' diff :: Eq a => [a] -> [a] -> [Edit a] \'
This package works on trees.
\' treeDiff :: Eq a => Tree a -> Tree a -> Edit (EditTree a) \'
This package also provides a way to diff arbitrary ADTs, using \'Generics\'-derivable helpers.
This package differs from < http://hackage.haskell.org/package/gdiff gdiff>, in a two ways: \'tree-diff\' doesn\'t have patch function, and the \"edit-script\" is a tree itself, which is useful for pretty-printing.
\' >>> prettyEditExpr $ ediff (Foo 42 [True, False] \"old\") (Foo 42 [False, False, True] \"new\") Foo {fooBool = [-True, +False, False, +True], fooInt = 42, fooString = -\"old\" +\"new\"} \'.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15-SP4/standard/x86_64 |