Y
Hacker News
new
|
ask
|
show
|
jobs
by
Sterm
1064 days ago
You're losing all the state since you're not being dropped in the closure where the error happened but in the end of the program.
To see the difference use some function counter() instead of 1 in the example.