From 070bcf4cea28a3238089379f5884787b2084b2de Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 12 Dec 2018 16:27:37 +0100 Subject: [PATCH] added diff.nim to the stdlib --- changelog.md | 3 +++ doc/lib.rst | 4 ++++ tools/kochdocs.nim | 1 + 3 files changed, 8 insertions(+) diff --git a/changelog.md b/changelog.md index 62450d58e3..024109df93 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 46e1f9d194..c0119d36d5 100644 --- a/doc/lib.rst +++ b/doc/lib.rst @@ -154,6 +154,10 @@ String handling * `std/wordwrap `_ This module contains an algorithm to wordwrap a Unicode string. +* `std/diff `_ + 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 7cd13b2ac2..03a6944492 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