5 ms·
That sounds similar to the incremental lambda calculus described in this paper: https://arxiv.org/abs/1312.0658 https://arxiv.org/abs/1312.0658 There's an imple
by markharper 7y ago
That sounds similar to the incremental lambda calculus described in this paper: https://arxiv.org/abs/1312.0658 https://arxiv.org/abs/1312.0658
There's an implementation for DOM updates in Purescript (https://blog.functorial.com/posts/2018-04-08-Incrementally-Improving-The-DOM.html https://blog.functorial.com/posts/2018-04-08-Incrementally-I...), but I haven't come across a similar approach in Javascript yet.
- osrec 7y agoYes, it's a similar idea. The only difference I can see is that in our library, the dependencies are automatically tracked, and there is some additional clever scheduling around when a function should be run.