News for hackers. Stuff that matters.
Re:JS things I didn’t know existed by grndn on Saturday January 20, 2018 @02:23PM (#16194921)
Here is the history of the |> symbol as best as I can tell:

1994: Isabelle/ML (part of Isabelle proof assistant tooling) (https://blogs.msdn.microsoft.com/dsyme/2011/05/17/archeologi...)

2005 and earlier: F#

2012: Elm

2013: Elixir (https://github.com/elixir-lang/elixir/pull/751)

2013: OCaml (https://ocaml.org/releases/4.01.0.html)

Re:JS things I didn’t know existed by aetherspawn on Saturday January 20, 2018 @09:03PM (#16196501)
Haskell has had the dot (.) operator which does the same thing for probably longer, but I have no reference sorry. Haskell is >30 years old.
Re:JS things I didn’t know existed by yorwba on Sunday January 21, 2018 @12:02AM (#16196937)
Dot has the arguments swapped.

  f |> g = g . f
Re:JS things I didn’t know existed by scns on Sunday January 21, 2018 @03:42AM (#16197346)
The $-operator is Haskell's equivalent to |>