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:
▼ ▼
"1234"
╷
│
╵
"_23"
▲
GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |