Portability | portable |
---|---|
Stability | experimental |
Maintainer | [email protected] |
Safe Haskell | Safe-Inferred |
Data.Algorithm.DiffOutput
Description
Author : Stephan Wehr (wehrfactisresearch.com) and JP Moresmau (jp
moresmau.fr)
Generates a string output that is similar to diff normal mode
Documentation
ppDiff :: [Diff [String]] -> StringSource
pretty print the differences. The output is similar to the output of the diff utility
prettyDiffs :: [DiffOperation LineRange] -> DocSource
pretty print of diff operations
data DiffOperation a Source
Instances
Show a => Show (DiffOperation a) |