tree-diff

Diffing of (expression) trees.

https://github.com/phadej/tree-diff

Version on this page:0.0.2@rev:2
LTS Haskell 23.19:0.3.4
Stackage Nightly 2025-04-30:0.3.4
Latest on Hackage:0.3.4

See all snapshots tree-diff appears in

BSD-3-Clause licensed by Oleg Grenrus
Maintained by Oleg.Grenrus
This version can be pinned in stack with:tree-diff-0.0.2@sha256:a8a36a9f598bfb8456770ee35f08f2a43647d54e82ef2cece3f1c0fd613dff1e,3766

tree-diff

Diffing of (expression) trees.

Examples

tree-diff displays pretty diffs of tree data:

Because of its untyped internal type, it copes with type changes:

As a bonus, multiline Strings and Text are diffed linewise:

Changes

Revision history for tree-diff

0.0.2

  • Print compact diffs
  • Add ToExpr instance for ShortByteString

0.0.1

  • Use BS.readFile and BS.writeFile in ediffGolden. This makes files read and written in UTF8 independently of locale. Fixes builds on appveyor.

0.0.0.1

  • Move to build-type: Simple

0

  • First version. Released on an unsuspecting world.