Homework Assignment 2: Functional Programming 1 (FP 1)
- Complete Worksheet 2 - Scala. Note the requirement to complete the Worksheet 2 quiz on D2L when you have finished the worksheet.
- Complete the setup of SBT as described in Scala Pragmatics.
- Download Assignments in Scala 3 (5th edition of Programming in Scala).
- Complete the instructions in the file src/main/scala/fp1.scala. On the SBT console, you can use testOnly fp1tests to test whether all required functionality is implemented. Correct functionality is important, but so is code clarity. Part of the credit is for code clarity.
- Submit completed assignment on D2L.