Skip to content

01 - hello world

echo "hello world!"

然而, nim 的函数调用写法很多样...

1
2
3
echo("hello world!")
"hello world!".echo
"hello world!".echo()

后面两种是 UFCS