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

pillars.syntax.scala Maven / Gradle / Ivy

Go to download

pillars-core is a scala 3 library providing base services for writing backend applications

There is a newer version: 0.4.4
Show newest version
// 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