mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 05:23:20 +00:00
add new stdlib modules to the changelog
This commit is contained in:
@@ -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`.
|
||||
|
||||
|
||||
@@ -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
|
||||
---------------------------------
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user