summaryrefslogtreecommitdiff
path: root/haskell/Data/VCDIFF.hs
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/Data/VCDIFF.hs')
-rw-r--r--haskell/Data/VCDIFF.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/haskell/Data/VCDIFF.hs b/haskell/Data/VCDIFF.hs
index a776052..ae8a6af 100644
--- a/haskell/Data/VCDIFF.hs
+++ b/haskell/Data/VCDIFF.hs
@@ -11,6 +11,20 @@
11{-# LANGUAGE RankNTypes #-} 11{-# LANGUAGE RankNTypes #-}
12{-# LANGUAGE TypeFamilies #-} 12{-# LANGUAGE TypeFamilies #-}
13{-# LANGUAGE TypeOperators #-} 13{-# LANGUAGE TypeOperators #-}
14-- |
15--
16-- Create and apply binary diffs in the VCDIFF format.
17--
18-- To create a diff:
19-- > diff = computeDiff defaultConfig source target
20--
21-- To apply a change to produce an updated version:
22-- > target = applyPatch defaultConfig source diff
23--
24-- Unlike typical text patches, context is ignored and
25-- there is no fuzz. This means the file you apply
26-- the patch to must have identical contents to the source
27-- used to create it.
14module Data.VCDIFF where 28module Data.VCDIFF where
15 29
16import Control.Monad 30import Control.Monad