The thunk trap
Why your Nix loop crashes after it finishes
Mika Bohinen - NixCon 2026

I wanted algebraic effects in Nix. Running those programs led from recursive calls to trampolining, strictness, defunctionalization, and an explicit machine, with another evaluator problem after each apparent repair. I assume you know the Nix language; I will introduce the compiler terminology as we encounter it.