scala.tools.nsc.util.trace.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.scala-compiler
Show all versions of org.apache.servicemix.bundles.scala-compiler
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
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