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