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
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 ### 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`. 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`, - Added `split`, `splitWhitespace`, `size`, `alignLeft`, `align`,
`strip`, `repeat` procs and iterators to `unicode.nim`. `strip`, `repeat` procs and iterators to `unicode.nim`.

View file

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

View file

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