debug-diff-0.1: Display a colorized diff between two Haskell values

Debug.Diff.Config

Description

Display the difference between two Haskell values, with control over the diff parameters.

Synopsis

Documentation

data Config Source

Configuration of the diff command

Constructors

Config 

Fields

context :: Maybe Int

Lines of context, for a unified diff.

command :: String

Diff command; colordiff by default.

args :: [String]

Extra arguments to the diff command.

defConfig :: ConfigSource

A default configuration.

diffWith :: (Show a, Show b) => Config -> a -> b -> IO ()Source

Display the difference between two Haskell values, with control over the diff parameters.

diff :: (Show a, Show b) => a -> b -> IO ()Source

Display a colorized diff between two Haskell values.