June 2019
Intermediate to advanced
213 pages
3h 10m
English
You already know that Haskell is based on lazy evaluation. This means that the expressions are evaluated only when it is necessary. But what is “necessary”? In this chapter, you will get an answer to that question, and you will take a deeper look at lazy evaluation in Haskell.
If you call f (1234^100) 3, in strict evaluation the first argument will be evaluated and ...