2 ms·
A toy mental model could be e.g. a function that takes OS/IO/GUI events and produces actions (which are then executed by the caller) and then iterate it as long
by IsTom 2y ago
A toy mental model could be e.g. a function that takes OS/IO/GUI events and produces actions (which are then executed by the caller) and then iterate it as long as the program runs. This function in itself can be pure.