我正在尝试使用Rapture.io运行一个非常简单的示例。不确定我在这里缺少什么?
scala> import rapture.io._
import rapture.io._
scala> import rapture.core._
import rapture.core._
scala> val x = File / "tmp" / "a.txt"
<console>:20: error: value / is not a member of object java.io.File
val x = File / "tmp" / "a.txt"
^
scala> import java.io.File
import java.io.File
scala> val x = File / "tmp" / "a.txt"
<console>:21: error: value / is not a member of object java.io.File
val x = File / "tmp" / "a.txt"
^
scala>