How to Install and Uninstall ghc-tree-diff Package on openSuSE Tumbleweed

Last updated: December 24,2024

1. Install "ghc-tree-diff" package

Please follow the step by step instructions below to install ghc-tree-diff on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install ghc-tree-diff

2. Uninstall "ghc-tree-diff" package

This guide let you learn how to uninstall ghc-tree-diff on openSuSE Tumbleweed:

$ sudo zypper remove ghc-tree-diff

3. Information about the ghc-tree-diff package on openSuSE Tumbleweed

Information for package ghc-tree-diff:
--------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ghc-tree-diff
Version : 0.2.1-1.1
Arch : x86_64
Vendor : openSUSE
Installed Size : 563,0 KiB
Installed : No
Status : not installed
Source package : ghc-tree-diff-0.2.1-1.1.src
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 , 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"} '.

5. The same packages on other Linux Distributions