lunduniversity / introprog

Teaching material for "Introduction to Programming using Scala" at Lund University, LTH. http://cs.lth.se/pgk/
142 stars 171 forks source link

Two problems with task 9 c in chapter 6 #686

Closed EliasAAradsson closed 1 year ago

EliasAAradsson commented 1 year ago

Problem 1) Changing to string makes the return type Matchable, not Any as it currently says in the key.

Problem 2) Consider rewriting the entire answer for clarity.