use 'using' instead of 'sig' keyword; cleans up new features a bit
This commit is contained in:
parent
554a3e9335
commit
c9966a3e17
20 changed files with 109 additions and 74 deletions
18
web/news.txt
18
web/news.txt
|
|
@ -16,20 +16,34 @@ Changes affecting backwards compatibility
|
|||
``table.mpairs`` iterator only the returned values can be modified, no
|
||||
longer the keys.
|
||||
- The deprecated Nim shebang notation ``#!`` was removed from the language. Use ``#?`` instead.
|
||||
- The ``using`` statement now means something completely different. You can use the
|
||||
new experimental ``this`` pragma to achieve a similar effect to what the old ``using`` statement tried to achieve.
|
||||
- Typeless parameters have been removed from the language since it would
|
||||
clash with ``using``.
|
||||
|
||||
|
||||
Library Additions
|
||||
-----------------
|
||||
|
||||
- The rlocks module has been added providing reentrant lock synchronization
|
||||
primitive
|
||||
primitive.
|
||||
|
||||
Compiler Additions
|
||||
------------------
|
||||
|
||||
- Added a new ``--noCppExceptions`` switch that allows to use default exception
|
||||
handling (no ``throw`` or ``try``/``catch`` generated) when compiling to C++
|
||||
code
|
||||
code.
|
||||
|
||||
Language Additions
|
||||
------------------
|
||||
|
||||
- Nim now supports a ``.this`` pragma for more notational convenience.
|
||||
- Nim now supports a different ``using`` statement for more convenience.
|
||||
- Nim now supports ``partial`` object declarations to mitigate the problems
|
||||
that arise when types are mutually dependent and yet should be kept in
|
||||
different modules.
|
||||
|
||||
|
||||
2016-01-27 Nim in Action is now available!
|
||||
==========================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue