#!/usr/bin/env talc
var i = 0;
var outer = \n -> do
var inner = \-> do
i = i + n
end
var by3 = outer(3)
var by5 = outer(5)
by3()
println(i) -- 3
println(i) -- 6
by5()
println(i) -- 11
println(i) -- 16
println(i) -- 19