Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 258 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 258 Bytes

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"
 ▲