| Copyright | (c) Sterling Clover 2008-2011, Kevin Charter 2011 |
|---|---|
| License | BSD 3 Clause |
| Maintainer | s.clover@gmail.com |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell98 |
Data.Algorithm.DiffOutput
Description
Author : Stephan Wehr (wehrfactisresearch.com) and JP Moresmau (jpmoresmau.fr)
Generates a string output that is similar to diff normal mode
Documentation
ppDiff :: [Diff [String]] -> String Source
pretty print the differences. The output is similar to the output of the diff utility
prettyDiffs :: [DiffOperation LineRange] -> Doc Source
pretty print of diff operations
data DiffOperation a Source
Instances
| Show a => Show (DiffOperation a) |