FP in Kotlin: Defining a Pipe Operator
There's no support for the pipe operator |> in Kotlin, so we have to come up with a custom and clean implementation for this function.

Tobias is a Math Software Engineer working self-employed by innovating in modern mathematical software and resources. Committed to pushing open source and free culture. Author of many projects and articles. His first language was Java and enjoys being familiarized with its tools and ecosystem. He's been into following strong software engineering processes, formalizing as much as possible, and posing philosophical statements. He's been a fan since 2013 of how Java works, including educational content, OOP, domain layers, Swing, Java 2D, JavaFX, and Android. He's seen Java as the best technology to build long-term business applications due to its stability and community expertise in the field, and also employs Kotlin for building DSLs.
There's no support for the pipe operator |> in Kotlin, so we have to come up with a custom and clean implementation for this function.

Get started and follow along whenever you need to publish a Java Maven-based library or artifact to Maven!