5-minute lightning talk (Intermediate)
The thunk trap
Count configuration entries without generating an optional diagnostic report. Follow the deferred additions inside a strict fold, fix the overflow, and keep the report lazy.
I wanted to see how far Nix could go as a programming language. Building effects, a type system and an evaluator meant confronting its execution limits. These two talks explore what I learned.
Count configuration entries without generating an optional diagnostic report. Follow the deferred additions inside a strict fold, fix the overflow, and keep the report lazy.
Running an interpreter in Nix means controlling iteration, lazy state and pending work. Follow the journey through trampolines and explicit continuation frames to the case for a native loop. No background in type theory required.
