标签: scala
可能重复: Best way to turn a Lists of Eithers into an Either of Lists? How to reduce a Seq[Either[A,B]] to a Either[Seq[A],Seq[B]]
在Scala中,从
来自:
Seq[Either[Seq[String], ResearchId]]
为:
Either[Seq[String], Seq[ResearchId]]