How do you implement lazy evaluation?

The Eric Normand Podcast - A podcast by Eric Normand

Categories:

Lazy evaluation is easily implemented in any language that can create first-class computations. That means functions or objects. In this episode, I explain how to implement a Delay, which is a reusable lazy component that is common in functional programming languages.