如何将Seq of seq转换成Seq? (斯卡拉)

时间:2012-03-07 20:47:07

标签: 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]]

0 个答案:

没有答案
相关问题