All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.tools.nsc.util.trace.scala Maven / Gradle / Ivy

There is a newer version: 2.10.2_1
Show newest version
package scala.tools.nsc
package util

object trace {
  def apply[T](msg: String)(value: T): T = {
    println(msg+value)
    value
  }
  def withFun[T, U](msg: String)(value: T)(fun: T => U): T = {
    println(msg+fun(value))
    value
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy