Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Pretty.Diff
Contents
Description
Printing nice and simple diffs 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:
▼ ▼ "1234" ╷ │ ╵ "_23" ▲
Configuration
Configuration for pretty
.
Constructors
Config | |
Fields
|
pretty printing
pretty :: Show a => Config -> a -> a -> Text Source #
Printing a full diff of both values separated by some pipes.