Skip to content

Day 6 / Mar 8 (Tue)

Opening Questions

  1. Are there any questions about the Scala topics we covered so far?
  2. 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 Lists.

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

  1. Mapping List, p. 92
  2. Reducing Lists, p. 93-94
  3. List folding, p. 97
  4. Converting Collections, p. 98

Exercises

Learning Scala book, page 102:

  1. 1, 2, 3, 4, 5, 6

Schedule

  1. 8:30 - 9:45
  2. 10:00 - 11:00
  3. 11:10 - 12:00
  4. 12:00 - 12:45 lunch break
  5. 12:45 - 1:30pm
  6. 1:40pm - 2:30pm

Working Hours

  • 8:30am - 2:30pm in the office
  • 2 hours for own work
Back to top