Closed djbpitt closed 1 year ago
Can we make seq.map(_.map(???)) easier to read by using for comprehensions, flatmap(), or other alternatives?
seq.map(_.map(???))
for
flatmap()
Code is remarked at the moment. In theory this should be done using a flatmap on the outer sequence. It might however require that the inner and outer collections are of the same type.
Can we make
seq.map(_.map(???))
easier to read by usingfor
comprehensions,flatmap()
, or other alternatives?