pillars.syntax.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pillars-core_3 Show documentation
Show all versions of pillars-core_3 Show documentation
pillars-core is a scala 3 library providing base services for writing backend applications
// Copyright (c) 2024-2024 by Raphaël Lemaitre and Contributors
// This software is licensed under the Eclipse Public License v2.0 (EPL-2.0).
// For more information see LICENSE or https://opensource.org/license/epl-2-0
package pillars
import scala.annotation.targetName
object syntax:
object all:
export language.*
object language:
extension [A](a: A)
@targetName("pipe")
inline def |>[B](f: A => B): B = f(a)
end syntax
© 2015 - 2025 Weber Informatics LLC | Privacy Policy