pretty-diff: Pretty printing a diff of two values.

[ bsd3, diffing, library ] [ Propose Tags ]

Please see the README at

[Skip to Readme]
Versions [RSS] [faq],,,,,,,,,
Change log
Dependencies base (>= && <5), data-default (==0.7.*), Diff (>=0.3 && <0.5), text (==1.2.*) [details]
License BSD-3-Clause
Copyright 2020 Christoph Hermann
Author Christoph Hermann
Category Diffing
Home page
Bug tracker
Source repo head: git clone
Uploaded by stoeffel at 2021-02-22T14:48:34Z
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 1384 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees


Readme for pretty-diff-

[back to package description]


Pretty printing a diff of two values.


import qualified Pretty.Diff as Diff
import Data.Default (def)

Diff.pretty def "1234" "_23"

Will create a string that looks like this:

 ▼ ▼