diff options
author | rumpf_a@web.de <> | 2009-10-27 22:28:02 +0100 |
---|---|---|
committer | rumpf_a@web.de <> | 2009-10-27 22:28:02 +0100 |
commit | d5acb88cccecf54bcc9a7c13f4fbaa095a8b37d4 (patch) | |
tree | da88c98e8bd063f7991d2e2cba5797351d301eba /doc/manual.txt | |
parent | 053309e60aee1eda594a4817ac8ac2fb8c18fb04 (diff) | |
download | Nim-d5acb88cccecf54bcc9a7c13f4fbaa095a8b37d4.tar.gz |
bugfixes: macros; splitFile; strutils.split; iterator.method
Diffstat (limited to 'doc/manual.txt')
-rwxr-xr-x | doc/manual.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual.txt b/doc/manual.txt index 9cf1f3bc2..978ef1496 100755 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -760,7 +760,7 @@ An example: nkIf # an if statement PNode = ref TNode TNode = object - case kind: TNodeKind # the ``kind`` field is the discriminator + case kind: TNodeKind # the ``kind`` field is the discriminant of nkInt: intVal: int of nkFloat: floavVal: float of nkString: strVal: string @@ -1648,7 +1648,7 @@ required. ``Elif`` parts are also allowed (but unlikely to be good style). -Type convertions +Type conversions ~~~~~~~~~~~~~~~~ Syntactically a `type conversion` is like a procedure call, but a type name replaces the procedure name. A type conversion is always |