2
我试图将Future [Seq [ ]使用以下:将未来的[Seq [(String,String)]]转换为Future [Seq [(String)]]
sortedSeq.map(_._2)
所以sortedSeq的类型是未来[序列[(字符串,字符串)]]
,但我不断收到错误的:
value _2 is not a member of Seq[(String, String)]
我在做什么错了?
也适用于相反的嵌套,例如,列表[未来[东西]。 – bbarker 2015-08-14 02:19:23