mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-22 00:41:28 +00:00
added 'system.shallow'
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user