summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-12-12 16:27:37 +0100
committerAraq <rumpf_a@web.de>2018-12-12 16:27:37 +0100
commit070bcf4cea28a3238089379f5884787b2084b2de (patch)
tree3f72f04b3920a293d761d2be95ada63225900150
parentafa2ca6a0bdbf00fd8dddc993292c1cb3ea060bf (diff)
downloadNim-070bcf4cea28a3238089379f5884787b2084b2de.tar.gz
added diff.nim to the stdlib
-rw-r--r--changelog.md3
-rw-r--r--doc/lib.rst4
-rw-r--r--tools/kochdocs.nim1
3 files changed, 8 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 62450d58e..024109df9 100644
--- a/changelog.md
+++ b/changelog.md
@@ -86,6 +86,9 @@ proc enumToString*(enums: openArray[enum]): string =
 - Added `macros.isInstantiationOf` for checking if the proc symbol
   is instantiation of generic proc symbol.
 
+- There is a new stdlib mdoule `std/diff` to compute the famous "diff"
+  of two texts by line.
+
 
 ### Library changes
 
diff --git a/doc/lib.rst b/doc/lib.rst
index 46e1f9d19..c0119d36d 100644
--- a/doc/lib.rst
+++ b/doc/lib.rst
@@ -154,6 +154,10 @@ String handling
 * `std/wordwrap <wordwrap.html>`_
   This module contains an algorithm to wordwrap a Unicode string.
 
+* `std/diff <diff.html>`_
+  This module contains an algorithm to compute the famous "diff"
+  of two texts by line.
+
 
 Generic Operating System Services
 ---------------------------------
diff --git a/tools/kochdocs.nim b/tools/kochdocs.nim
index 7cd13b2ac..03a694449 100644
--- a/tools/kochdocs.nim
+++ b/tools/kochdocs.nim
@@ -129,6 +129,7 @@ lib/pure/math.nim
 lib/pure/matchers.nim
 lib/std/editdistance.nim
 lib/std/wordwrap.nim
+lib/std/diff.nim
 lib/pure/algorithm.nim
 lib/pure/stats.nim
 lib/windows/winlean.nim