debug-diff

Display a colorized diff between two Haskell values

Latest on Hackage:0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed and maintained by Keegan McAllister

Debug.Diff is a quick tool for comparing two Haskell values, as when diagnosing a test failure. It pretty-prints the values (using the groom library) and passes them to an external diff command (colordiff by default), which writes the diff to standard output.

Debug.Diff.Config provides more control over the diff parameters.