The previous examples demonstrated the individual features of a Future, handling success and failure cases. Usually, however, both features are handled much more tersely. Here's the example, written in a neater and more realistic way:
object Calculator {
def calculateAndReport(a: Int, b: Int...