21 ms·
> or even realize he's using one. Uh, this happens all the time. Scala programmers everywhere are used to the pattern for { a <- optionA b
by runT1ME 13y ago
> or even realize he's using one.
Uh, this happens all the time. Scala programmers everywhere are used to the pattern
for {
a <- optionA
b <- optionB
} yield ("Both options have values! A = " + a + " B ="+b)