diff package:filestore
Return a unified diff of two revisions of a named resource. Format of
the diff is a list [(Diff, [String])], where DI is
F (in first document only), S (in second only), or
B (in both), and the list is a list of lines (without
newlines at the end).
This is
PolyDiff specialized so both sides are the same type.
A value is either from the
First list, the
Second or
from
Both.
Both contains both the left and right values,
in case you are using a form of equality that doesn't check all data
(for example, if you are using a newtype to only perform equality on
side of a tuple).