projects
/
fur
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add a string concatenation operator
[fur]
/
examples
/
22_close_arguments.fur
1
def make_incrementer(increment_amount) do
2
def result(i) do
3
increment_amount + i
4
end
5
6
result
7
end
8
9
increment_by_one = make_incrementer(1)
10
increment_by_two = make_incrementer(2)
11
12
print(increment_by_one(41), '\n')
13
print(increment_by_two(40), '\n')