git-0.3.0: Git operations in haskell

Safe HaskellSafe
LanguageHaskell98

Data.Git.Diff.Patience

Synopsis

Documentation

data Item t Source #

An element of a computed difference.

Constructors

Old !t 
New !t 
Both !t !t 
Instances
Functor Item Source # 
Instance details

Defined in Data.Git.Diff.Patience

Methods

fmap :: (a -> b) -> Item a -> Item b #

(<$) :: a -> Item b -> Item a #

Eq t => Eq (Item t) Source # 
Instance details

Defined in Data.Git.Diff.Patience

Methods

(==) :: Item t -> Item t -> Bool #

(/=) :: Item t -> Item t -> Bool #

Show t => Show (Item t) Source # 
Instance details

Defined in Data.Git.Diff.Patience

Methods

showsPrec :: Int -> Item t -> ShowS #

show :: Item t -> String #

showList :: [Item t] -> ShowS #

diff :: Ord t => [t] -> [t] -> [Item t] Source #

The difference between two lists using the patience algorithm