2 ms·
If you try to use it val directly, it fails. You must unpack it first. To do something like x.get() in Scala when x is empty is a runtime error, not a compile-
by heartbeats 7y ago
If you try to use it val directly, it fails. You must unpack it first.
To do something like x.get() in Scala when x is empty is a runtime error, not a compile-time error.