diff options
author | Araq <rumpf_a@web.de> | 2012-08-20 01:13:13 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-08-20 01:13:13 +0200 |
commit | 5e15dec1757e6013cbeb5d6baf9d9579cf025361 (patch) | |
tree | 2157b7f03f5f596060ad9ed52427118964912e50 /doc | |
parent | 0cac8d9b6fa2c982468899db109a964df979b186 (diff) | |
download | Nim-5e15dec1757e6013cbeb5d6baf9d9579cf025361.tar.gz |
first steps to make templates hygienic
Diffstat (limited to 'doc')
-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 5933691b0..813f1a5b4 100755 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -908,7 +908,7 @@ converts the list of arguments to an array implicitely: write(f, "\n") myWriteln(stdout, "abc", "def", "xyz") - # is transformed by the compiler to: + # is transformed to: myWriteln(stdout, ["abc", "def", "xyz"]) This transformation is only done if the varargs parameter is the @@ -922,7 +922,7 @@ type conversions in this context: write(f, "\n") myWriteln(stdout, 123, "abc", 4.0) - # is transformed by the compiler to: + # is transformed to: myWriteln(stdout, [$123, $"def", $4.0]) In this example ``$`` is applied to any argument that is passed to the |