Homework companion to Errors and Partial Functions.
When it comes to error handling, the monadic error handling mechanisms and pattern matching are typically less well-understood. This is a small set of exercises intended to increase familiarity with these mechanisms to facilitate follow-on discussions.
- Install SBT
- Install the Scala plugin for IntelliJ
- Find the problems in
src/main/scala/com/justinyan/errorsandpartialfunctions