Closed valterbergstrand closed 1 year ago
Yes the for
should have a do
.
Do you want to contribute with a PR yourself or do you want me to fix it?
I guess the whole lab should be washed out of curly braces and primitive mains as well (even if curly braces never will be deprecated and is perfectly valid Scala 3 syntax...). What do you think?
(But old-style for, while, if without do or then will be deprecated at some point if I have understood it correctly)
There is also a while
missing a do
in task 7 and an if
missing a then
in task 11, etc.
in 4.3, Task 6a is written with Scala 2 syntax, maybe change to Scala 3 syntax for consistency?