by chriswarbo · 4y ago · 0 comments
Sounds similar to the evaluation model of the Nix expression language (the pure functional programming language used by the Nix package manager). It caches evaluation results, which (a) avoids re-computing identical expressions, and (b) allows some infinite loops to be detected.
See https://www.researchgate.net/publication/222827743_Maximal_L...