News for hackers. Stuff that matters.
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).
Re:Lambda Cube by lispm on Tuesday March 05, 2019 @01:24PM (#19312795)
That's basically the same level of OOP compared to how one can implement numbers and numeric operations as functions.