I have this issue that I have to work around every time. I can\'t map over something that is contained within a Future using a for comprehension.
Example:
I find this form more readable than either the serial map or the serial yield:
for (vs <- future(data); xs = for (x <- vs) yield g(x) ) yield xs
at the expense of the tupling map:
f.map((_, xs)).map(_._2)
or more precisely:
f.map((vs: List[Int]) => (vs, for (x <- vs) yield g(x))).map(_._2)