mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 07:21:19 +00:00
committed by
Andreas Rumpf
parent
6c708038c1
commit
16619b8e78
@@ -206,7 +206,7 @@ for any type:
|
||||
|
||||
echo "abc".len # is the same as echo len("abc")
|
||||
echo "abc".toUpper()
|
||||
echo {'a', 'b', 'c'}.card
|
||||
echo({'a', 'b', 'c'}.card)
|
||||
stdout.writeLine("Hallo") # the same as writeLine(stdout, "Hallo")
|
||||
|
||||
(Another way to look at the method call syntax is that it provides the missing
|
||||
|
||||
Reference in New Issue
Block a user