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

[ bsd3, diffing, library ] [ Propose Tags ]

Please see the README at https://github.com/stoeffel/pretty-diff.


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.2.0.0
Change log CHANGELOG.md
Dependencies base (>=4.10.1.0 && <5), data-default (==0.7.*), Diff (==0.3.*), text (==1.2.*) [details]
License BSD-3-Clause
Copyright 2020 Christoph Hermann
Author Christoph Hermann
Maintainer schtoeffel@gmail.com
Category Diffing
Home page https://github.com/stoeffel/pretty-diff#readme
Bug tracker https://github.com/stoeffel/pretty-diff/issues
Source repo head: git clone https://github.com/stoeffel/pretty-diff
Uploaded by stoeffel at 2020-02-12T19:59:42Z
Distributions NixOS:0.2.0.0
Downloads 317 total (13 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]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for pretty-diff-0.2.0.0

[back to package description]

pretty-diff

Pretty printing a diff of two values.

Usage

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

Diff.pretty def "1234" "_23"

Will create a string that looks like this:

 ▼ ▼
"1234"
╷
│
╵
"_23"
 ▲