Hacker News new | past | comments | ask | show | jobs | submit login

Most closures don't reference global mutable state. Generally they take immutable copies and you have to tell the compiler that you want mutable state which is generally limited to the scope of the function the closure appears in.



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: