diff options
author | Joey Payne <jyapayne@gmail.com> | 2016-06-11 18:59:41 -0600 |
---|---|---|
committer | Joey Payne <jyapayne@gmail.com> | 2016-06-13 20:54:58 -0600 |
commit | 84d9081e21783151b40c0320ca50df4845043559 (patch) | |
tree | 2098fe5a8c1b9d50ef5b443f86f94fd1775d75f0 /web | |
parent | f6e30981a84466aa0a0cf7d51023d5edbb3c2703 (diff) | |
download | Nim-84d9081e21783151b40c0320ca50df4845043559.tar.gz |
Move partition and rpartition to new strmisc module
This was done because partition is an uncommonly used proc that is still useful in rare cases. There is also a desire to add more procs to this module at a later time.
Diffstat (limited to 'web')
-rw-r--r-- | web/news/version_0_15_released.rst | 9 | ||||
-rw-r--r-- | web/website.ini | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/web/news/version_0_15_released.rst b/web/news/version_0_15_released.rst index ad3119cca..2f6c2736c 100644 --- a/web/news/version_0_15_released.rst +++ b/web/news/version_0_15_released.rst @@ -17,6 +17,15 @@ Library Additions - Added ``readHeaderRow`` and ``rowEntry`` to ``parsecsv.nim`` to provide a lightweight alternative to python's ``csv.DictReader``. +- Added ``center``, ``rsplit``, and ``expandTabs`` to ``strutils.nim`` to + provide similar Python functionality for Nim's strings. + +- Added ``isTitle``, ``title``, and ``swapCase`` to ``unicode.nim`` to + provide unicode aware string case manipulation. + +- Added a new module ``lib/pure/strmisc.nim`` to hold uncommon string + operations. Currently contains ``partition`` and ``rpartition``. + Compiler Additions ------------------ diff --git a/web/website.ini b/web/website.ini index ae363afbd..860ab9338 100644 --- a/web/website.ini +++ b/web/website.ini @@ -43,7 +43,7 @@ srcdoc2: "pure/stats;impure/nre;windows/winlean;pure/random" srcdoc2: "pure/complex;pure/times;pure/osproc;pure/pegs;pure/dynlib;pure/strscans" srcdoc2: "pure/parseopt;pure/parseopt2;pure/hashes;pure/strtabs;pure/lexbase" srcdoc2: "pure/parsecfg;pure/parsexml;pure/parsecsv;pure/parsesql" -srcdoc2: "pure/streams;pure/terminal;pure/cgi;pure/unicode" +srcdoc2: "pure/streams;pure/terminal;pure/cgi;pure/unicode;pure/strmisc" srcdoc2: "pure/htmlgen;pure/parseutils;pure/browsers" srcdoc2: "impure/db_postgres;impure/db_mysql;impure/db_sqlite" srcdoc2: "pure/httpserver;pure/httpclient;pure/smtp;impure/ssl;pure/fsmonitor" |