added 'system.shallow'
This commit is contained in:
parent
b458dc7009
commit
fb35b855d5
9 changed files with 85 additions and 68 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue