|
|
|
|
|
by int_19h
3340 days ago
|
|
Your BASIC example doesn't have any local variables to close over. It just references a global. That defeats the whole point of closures. Passing or returning first-class functions aren't a problem. First-class closures (function pointer + state) are. |
|