Day 6 / Mar 8 (Tue)¶
Opening Questions¶
- Are there any questions about the Scala topics we covered so far?
- What was the most important Scala feature that we covered during the last session?
Scala Collections Library¶
Learning Scala book, Chapter 6, page 83
Package: scala.collections
Exercise: Create a List
of List
s.
Nil
and ::
Exercise: Create a List
of 5 numbers and find the ones that are less than 3.
Exercise: Create a List
of strings and apply toUpperCase
on each
- Mapping List, p. 92
- Reducing Lists, p. 93-94
- List folding, p. 97
- Converting Collections, p. 98
Exercises¶
Learning Scala book, page 102:
- 1, 2, 3, 4, 5, 6
Schedule¶
- 8:30 - 9:45
- 10:00 - 11:00
- 11:10 - 12:00
- 12:00 - 12:45 lunch break
- 12:45 - 1:30pm
- 1:40pm - 2:30pm
Working Hours¶
- 8:30am - 2:30pm in the office
- 2 hours for own work