Nix 101 Course / Section 2: The Nix language
Premium

2.5 Lazy evaluation, in practice

Lesson 10 of 37 · 7:42

placeholder thumbnail

Sign in to watch this lesson

About this lesson

This is the video that explains 90% of "huh, why didn't that fail?" moments. Through the famous 1/0 puzzle and weak head normal form, you'll finally get lazy evaluation — what it buys you for performance and debugging, and why Nix only ever computes what it truly needs.