Untitled

Run Settings
LanguageNim
Language Version
Run Command
template loopClosure(body: untyped) = block: proc lc = body lc() var funcs: seq[proc(): int] = @[] for i in 0..9: loopClosure: let x = i add funcs, proc: int = x * x for i in 0..8: echo "func[", i, "]: ", funcs[i]()
Editor Settings
Theme
Key bindings
Full width
Lines