Unit 5. List
In unit 4, you discovered how to code data with immutable structures and handle nullable values using the Option type. In this unit, you’ll use the functionalities of the List collection to query a publicly accessible data set called “The Movies Dataset” by Rounak Banik, which provides information on more than 45,000 films. In particular, you are going to learn about the following subjects:
-
Lesson 27 teaches you how to define an instance of
Listand add elements to it. You’ll also see how to use pattern matching to traverse it and manipulate its items. -
Lesson 28 shows you how to transform its elements and chain multiple sequences using the
map,flatten,andflatMapfunctions. -
Lesson 29 demonstrates how you can query on a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access