documentation updates

This commit is contained in:
Araq 2014-10-11 13:20:00 +02:00
commit 028a62e2ba
2 changed files with 67 additions and 39 deletions

View file

@ -5039,6 +5039,27 @@ first implementation to play with a language feature before a nicer syntax
to access the feature becomes available.
deprecated pragma
-----------------
The deprecated pragma is used to mark a symbol as deprecated:
.. code-block:: nimrod
proc p() {.deprecated.}
var x {.deprecated.}: char
It can also be used as a statement. Then it takes a list of *renamings*. The
upcoming ``nimfix`` tool can automatically update the code and perform these
renamings:
.. code-block:: nimrod
type
File = object
Stream = ref object
{.deprecated: [TFile: File, PStream: Stream].}
noSideEffect pragma
-------------------
The ``noSideEffect`` pragma is used to mark a proc/iterator to have no side

View file

@ -2,10 +2,16 @@
News
====
..
2014-06-29 Version 0.9.6 released
2014-10-11 Version 0.9.6 released
=================================
**Note: This is the last release of Nimrod. The language has been renamed to
Nim. Nim slightly breaks compatibility.**
This is a maintenance release. The upcoming 0.10.0 release has all
the new features and exciting developments.
Changes affecting backwards compatibility
-----------------------------------------
@ -34,7 +40,8 @@ News
Language Additions
------------------
- There is a new ``parallel`` statement for safe fork&join parallel computing.
- This version introduces the new ``deprecated`` pragma statement that is used
to handle the upcoming massive amount of symbol renames.
Library Additions