added 'system.shallow'

This commit is contained in:
Araq
2012-02-09 20:13:36 +01:00
parent b458dc7009
commit fb35b855d5
9 changed files with 85 additions and 68 deletions

View File

@@ -1507,7 +1507,7 @@ Syntax::
Example:
.. code-block:: nimrod
proc p(x, y: int): int {.optional.} =
proc p(x, y: int): int =
return x + y
discard p(3, 4) # discard the return value of `p`
@@ -3473,6 +3473,8 @@ a `thead-local`:idx: variable then:
Actor model
-----------
**Caution**: This section is already outdated! XXX
Nimrod supports the `actor model`:idx: of concurrency natively:
.. code-block:: nimrod