-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Display a colorized diff between two Haskell values
--
-- Debug.Diff is a quick tool for comparing two Haskell values,
-- as when diagnosing a test failure. It pretty-prints the values (using
-- the groom library) and passes them to an external
-- diff command (colordiff by default), which writes
-- the diff to standard output.
--
-- Debug.Diff.Config provides more control over the diff
-- parameters.
@package debug-diff
@version 0.1
-- | Display the difference between two Haskell values, with control over
-- the diff parameters.
module Debug.Diff.Config
-- | Configuration of the diff command
data Config
Config :: Maybe Int -> String -> [String] -> Config
-- | Lines of context, for a unified diff.
context :: Config -> Maybe Int
-- | Diff command; colordiff by default.
command :: Config -> String
-- | Extra arguments to the diff command.
args :: Config -> [String]
-- | A default configuration.
defConfig :: Config
-- | Display the difference between two Haskell values, with control over
-- the diff parameters.
diffWith :: (Show a, Show b) => Config -> a -> b -> IO ()
-- | Display a colorized diff between two Haskell values.
diff :: (Show a, Show b) => a -> b -> IO ()
instance Eq Config
instance Ord Config
instance Read Config
instance Show Config
-- | Display a colorized diff between two Haskell values.
module Debug.Diff
-- | Display a colorized diff between two Haskell values.
diff :: (Show a, Show b) => a -> b -> IO ()