diff options
author | James Crayne <jim.crayne@gmail.com> | 2018-10-28 19:31:51 -0400 |
---|---|---|
committer | James Crayne <jim.crayne@gmail.com> | 2018-10-28 19:31:51 -0400 |
commit | aebdc1ce3ed5b53ba69dd3aa0f37d1ffefbf5c7d (patch) | |
tree | dfda645093b4438bdfcd4a93449da5afa223714e | |
parent | b5e42b330ab522c1ec81f65feae24896aa70225e (diff) |
documentation fixes +language warning
-rw-r--r-- | haskell/Data/VCDIFF.hs | 2 | ||||
-rw-r--r-- | xdelta.cabal | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/haskell/Data/VCDIFF.hs b/haskell/Data/VCDIFF.hs index ae8a6af..78f66ff 100644 --- a/haskell/Data/VCDIFF.hs +++ b/haskell/Data/VCDIFF.hs | |||
@@ -16,9 +16,11 @@ | |||
16 | -- Create and apply binary diffs in the VCDIFF format. | 16 | -- Create and apply binary diffs in the VCDIFF format. |
17 | -- | 17 | -- |
18 | -- To create a diff: | 18 | -- To create a diff: |
19 | -- | ||
19 | -- > diff = computeDiff defaultConfig source target | 20 | -- > diff = computeDiff defaultConfig source target |
20 | -- | 21 | -- |
21 | -- To apply a change to produce an updated version: | 22 | -- To apply a change to produce an updated version: |
23 | -- | ||
22 | -- > target = applyPatch defaultConfig source diff | 24 | -- > target = applyPatch defaultConfig source diff |
23 | -- | 25 | -- |
24 | -- Unlike typical text patches, context is ignored and | 26 | -- Unlike typical text patches, context is ignored and |
diff --git a/xdelta.cabal b/xdelta.cabal index 4864d92..d54f3f6 100644 --- a/xdelta.cabal +++ b/xdelta.cabal | |||
@@ -35,3 +35,4 @@ executable testdiff | |||
35 | other-modules: Text.XXD | 35 | other-modules: Text.XXD |
36 | hs-source-dirs: haskell/examples . | 36 | hs-source-dirs: haskell/examples . |
37 | build-depends: base, bytestring, memory, xdelta | 37 | build-depends: base, bytestring, memory, xdelta |
38 | default-language: Haskell2010 | ||