add new stdlib modules to the changelog

This commit is contained in:
Araq
2018-11-08 16:47:14 +01:00
committed by Andreas Rumpf
parent 56f76c5b08
commit 84ca9d2903
4 changed files with 10 additions and 2 deletions

View File

@@ -45,9 +45,12 @@ proc enumToString*(enums: openArray[enum]): string =
### Library additions
- There is a new stdlib module `editdistance` as a replacement for the
- There is a new stdlib module `std/editdistance` as a replacement for the
deprecated `strutils.editDistance`.
- There is a new stdlib module `std/wordwrap` as a replacement for the
deprecated `strutils.wordwrap`.
- Added `split`, `splitWhitespace`, `size`, `alignLeft`, `align`,
`strip`, `repeat` procs and iterators to `unicode.nim`.

View File

@@ -147,10 +147,13 @@ String handling
* `subexes <subexes.html>`_
This module implements advanced string substitution operations.
* `editdistance <editdistance>`_
* `std/editdistance <editdistance.html>`_
This module contains an algorithm to compute the edit distance between two
Unicode strings.
* `std/wordwrap <wordwrap.html>`_
This module contains an algorithm to wordwrap a Unicode string.
Generic Operating System Services
---------------------------------

View File

@@ -7,6 +7,8 @@
# distribution, for details about the copyright.
#
## This module contains an algorithm to wordwrap a Unicode string.
import strutils, unicode
proc olen(s: string): int =