Re:F# Pipeline Operator in JavaScript with Babel
by vrotaru on Tuesday February 04, 2020 @05:04PM
(#22241536)
It appeared first in F#. The 4.01 version is quite recent actually.
F# was based on 3.xx, or maybe, even, 2.xx OCaml.
https://docs.microsoft.com/en-us/archive/blogs/dsyme/archeol...
Re:F# Pipeline Operator in JavaScript with Babel
by tpetricek on Tuesday February 04, 2020 @05:01PM
(#22241506)
The history of how the pipe operator got into F# is documented here: https://blogs.msdn.microsoft.com/dsyme/2011/05/17/archeologi...
Re:F# Pipeline Operator in JavaScript with Babel
by rattray on Tuesday February 04, 2020 @05:54PM
(#22242003)
Sounds like the idea came up April/May 1994 for F# then. Not sure when the feature landed.
Was added to OCaml 2013-09-12[0]
Re:F# Pipeline Operator in JavaScript with Babel
by no_wizard on Tuesday February 04, 2020 @07:30PM
(#22242770)
Attribution in most cases is given to where the person first learned of the concept, not per se, the historical accuracy of who came first with the concept.
After all, it should rightfully be attributed to the Isabelle/ML programming lanaguage[0][1]
[0]https://isabelle.in.tum.de/ [1]https://docs.microsoft.com/en-us/archive/blogs/dsyme/archeol...
Re:F# Pipeline Operator in JavaScript with Babel
by markandrewj on Tuesday February 04, 2020 @04:48PM
(#22241369)
I was thinking the same thing, although it would be useful to have a pipeline operator in Javascript. My first thought would be UNIX when I think of pipes, not F#.
[1] https://caml.inria.fr/pub/docs/manual-ocaml/libref/Stdlib.ht...