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.
Dot has the arguments swapped.
f |> g = g . f
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)