Categories
Functional Programming - Scala

Functional Programming in Scala – Week 6

Week 6 was the second last week in the course and focused on Collections. For collections that are not generally going to have linear type access, Vectors are a more apt collection.

Determining the right collection type to use is not so difficult when they are arranged logically.
Determining the right collection type to use is not so difficult when they are arranged logically.

Using the Sequence classes allows the inheritance on useful operations:

scala_sequence_operations
Sequence sub classes inherit some useful operations

Week 6 Lectures

Week 6 assignment source (again this was a quick and dirty job and is far from complete marks)

 

Leave a Reply

Your email address will not be published. Required fields are marked *