
dotty.tools.dotc.util.chaining.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala3-compiler_3 Show documentation
Show all versions of scala3-compiler_3 Show documentation
scala3-compiler-bootstrapped
package dotty.tools.dotc.util
object chaining:
extension [A](x: A)
inline def tap(inline f: A => Unit): x.type = { f(x): Unit; x }
inline def pipe[B](inline f: A => B): B = f(x)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy