Scala 3, Programming Scala.
Wampler I recommend viewing this Martin Odersky talk about the on-going work on direct style. The following discussion is based on it. Motivation Consider the example of Futures. We currently use them like this: val sum = val f1 = Future(c1.read) val f2 = Future(c2.read) for x <- f1 y <- f2 yield x