Re:Left to Right Programming
by hawk_ on Monday August 18, 2025 @01:40PM
(#44943298)
I miss the F# pipe operator (https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...) in other languages. It's so natural to think of function transform pipelines. In other languages you have to keep going to the left and prepend function names, and to the right to add additional args, parens etc ...
[ Parent
| on HN ]
Re:Left to Right Programming
by mrbananagrabber on Monday August 18, 2025 @01:57PM
(#44943456)
I've had to migrate to mostly Python for my work, and this is the thing I miss the absolute most from R (and how it works so seamlessly with the tidyverse)
You'll be able to use it in PHP 8.5 :-)
Re:Left to Right Programming
by lo_zamoyski on Monday August 18, 2025 @01:53PM
(#44943425)
n.b. pipe operators also exist in various forms in other languages. OCaml, Elixir, Clojure, Haskell...