Better method name

This commit is contained in:
flaviut 2014-05-29 15:53:24 -04:00
commit de87c3d1d3

View file

@ -3,12 +3,12 @@
Nimrod supports three different types of variables, `let`, `var`, and `const`. As with most things, multiple variables can be declared in the same section.
``` nimrod
proc getLetterA(): string =
proc getAlphabet(): string =
result = ""
for letter in 'a'..'z':
result.add(letter)
const abcs = getLetterA()
const abcs = getAlphabet()
var
foo = "bar"
bar = "foo"