diff-gestalt-0.2.0.0: A diff algorithm based on recursive longest common substrings
Data.Algorithm.Diff.Gestalt
Synopsis
diff :: Ord a => [a] -> [a] -> [Diff [a]] Source
Takes two lists and returns a list of differences between them, grouped into chunks.
>>> diff "tree" "there" [Both "t" "t",Second "he",Both "re" "re",First "e"]
>>>
diff "tree" "there"