3 ms·
Scala doesn't require the semi-colon at the very end, but it does allow for them if you really want two statements on the same line. Edit: and yes, that line s
by djsumdog 10y ago
Scala doesn't require the semi-colon at the very end, but it does allow for them if you really want two statements on the same line.
Edit: and yes, that line separation works fine, both compiled and in the REPL.