Re:Lambda Cube
by cstrahan on Tuesday March 05, 2019 @11:04AM
(#19311399)
Define a set of functions that close over their lexical environment, then treat the closed-over variables as internal/private state, and treat those functions as you would methods in OOP (reading/mutating the aforementioned variables).
[ Parent
| on HN ]