Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
scns
5y ago
0 comments
Share
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.
0 comments
default
newest
oldest
dwijnand
5y ago
https://www.scala-lang.org/api/current/scala/util/ChainingOp...
valenterry
5y ago
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"
j
/
k
navigate · click thread line to collapse