5-minute lightning talk
The thunk trap
Why a strict fold can return a record but overflow when asked for its total, and how one line of Nix breaks the dependency chain.
I wanted algebraic effects in Nix. That led to trampolines, an abstract machine, and increasingly specific negotiations with the evaluator. These are my two NixCon 2026 talks about the resulting difficulties.
Why a strict fold can return a record but overflow when asked for its total, and how one line of Nix breaks the dependency chain.
I wanted algebraic effects. Each apparent fix led further into compiler theory, until I had an abstract machine and still wanted a loop.
