Arc Forumnew | comments | leaders | submitlogin
2 points by absz 6116 days ago | link | parent

There we are, closures to the rescue :) Careful, though; remember that what you define with def will be accessible throughout the entire program. Use let or with for local functions. (I can't tell what you want there, but that's tripped people up on these fora before.)