我记得在Scala REPL中有一个开关可以抑制返回类型的打印,但我找不到它。我特别希望将此开关添加到sbt构建文件中。类似于
例如,现在我有:
returnTypes in console := false
。例如,现在我有:
scala> within( Span( 0, 33 ))
res7: scala.collection.immutable.IndexedSeq[(de.sciss.lucre.expr.SpanLike, scala.collection.immutable.IndexedSeq[(de.sciss.lucre.expr.Expr[de.sciss.lucre.stm.InMemory,de.sciss.lucre.expr.SpanLike], de.sciss.lucre.expr.Expr[de.sciss.lucre.stm.InMemory,Long])])] = Vector()
出于明显的原因,我希望
scala> within( Span( 0, 33 ))
res7: Vector()