September 2017
Beginner to intermediate
396 pages
9h 46m
English
Once we have a list, we can do various operations, such as the following ones:
In snippet 9, we worked on an infinite list and took only the first 10 elements. This works in Haskell, because in Haskell, nothing is evaluated until computation needs a value. Hence, even if we have an infinite list, when we take the first 10 elements, only 10 elements of the list are evaluated. Such things are not possible in strict languages. ...
Read now
Unlock full access