A succinct alternative to for-comprehensions in Scala