If you would call it pipe operator, like it's called in many (Elm, Elixir, F#, OCaml) other languages that have it, people would understand you faster IMHO. It is even discussed for inclusion into JavaScript.
Re:Scala 3.0.0-M1
by valenterry on Wednesday November 04, 2020 @09:35AM
(#24989371)
Nice I didn't know that! I still like to add |> on top of it.
"foo |> bar |> baz" just visually parses easier than "foo pipe bar pipe baz"
Re:Scala 3.0.0-M1
by tastyminerals2 on Wednesday November 04, 2020 @06:52AM
(#24988212)
Looks good! Thanks for the tip.
This is maybe not exactly as convenient, but it comes pretty close.
"someA.someB.someC" becomes "someA |> someB |> someC".