| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: ghc-tree-diff | Distribution: SUSE Linux Enterprise 15 SP6 |
| Version: 0.3.0.1 | Vendor: openSUSE |
| Release: bp156.1.1 | Build date: Tue Mar 5 11:19:33 2024 |
| Group: Unspecified | Build host: obs-power9-15 |
| Size: 900476 | Source RPM: ghc-tree-diff-0.3.0.1-bp156.1.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://hackage.haskell.org/package/tree-diff | |
| Summary: Diffing of (expression) trees | |
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"} '.
GPL-2.0-or-later
* Thu Feb 08 2024 Peter Simons <psimons@suse.com>
- Update tree-diff to version 0.3.0.1 revision 5.
[#]# 0.3
- Breaking change:
Make HashSet and HashMap ToExpr instances sort the resulting
lists of expressions.
This makes the results deterministic.
... but your golden files will need adjustment.
https://github.com/haskellari/tree-diff/issues/67
- Add `Ord Expr` and `Ord OMap` instances
- Depend on `data-array-byte` to provide more `ByteArray` instances
* Sun Aug 21 2022 Peter Simons <psimons@suse.com>
- Update tree-diff to version 0.2.2.
[#]# 0.2.2
- Add instances for base and primitive's `ByteArray`s.
* Sat Jan 01 2022 Peter Simons <psimons@suse.com>
- Update tree-diff to version 0.2.1.1.
[#]# 0.2.1.1
- Support `base-4.16` (GHC-9.2)
* Sun Oct 10 2021 psimons@suse.com
- Update tree-diff to version 0.2.1.
[#]# 0.2.1
- Support `aeson-2.0.0.0`
* Fri Sep 03 2021 psimons@suse.com
- Update tree-diff to version 0.2 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
* Wed Mar 17 2021 psimons@suse.com
- Update tree-diff to version 0.2.
[#]# 0.2
- Change the pretty printing to use less horizontal space.
`Pretty` datastructure is changed.
- Change `Expr` to use `OMap`; pretty-printing preserves field order.
- Add `strict` and `these` instances
- Add `Eq` and `NFData (Edit a)` instances.
- Bump lower bounds
* Sun Feb 21 2021 psimons@suse.com
- Update tree-diff to version 0.1 revision 6.
Upstream has revised the Cabal build instructions on Hackage.
* Thu Dec 17 2020 Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
* Tue Nov 03 2020 psimons@suse.com
- Add tree-diff at version 0.1 revision 5.
/usr/lib64/ghc-8.10.7/tree-diff-0.3.0.1 /usr/lib64/ghc-8.10.7/tree-diff-0.3.0.1/libHStree-diff-0.3.0.1-4l9FFMMNCxSGY5FxfJGsJj-ghc8.10.7.so /usr/share/licenses/ghc-tree-diff /usr/share/licenses/ghc-tree-diff/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Mon Feb 9 17:18:57 2026