Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
programming, lazy evaluation is the technique of delaying a computation
until the result is required. The benefits of lazy evaluation include:
performance increases due to avoiding unnecessary calculations, avoiding
error conditions in the evaluation of compound expressions, the
capability of constructing potentially infinite data structures, and the
capability of defining control structures as abstractions instead of as
primitives. Languages that use lazy actions can be further subdivided
into those that use a call-by-name evaluation strategy and those that
use call-by-need.