Replies: 4 comments 1 reply
-
It's disappointing. I don't think it's better than what we're doing in userland now. // Now
pipe(x, f, g)
// F#
x |> f |> g
// Hack
x |> f(^) |> g(^) |
Beta Was this translation helpful? Give feedback.
-
As far as data-last curried functions are concerned, I don't see any reason to use the Hack pipe operator, I'd stick with |
Beta Was this translation helpful? Give feedback.
-
Oh, they actually went with ugly hack proposal... disappointing, considering that most people in discussions voted for f# one. |
Beta Was this translation helpful? Give feedback.
-
with current
so the data type is the first element this will make more sense but I don't know what they were thinking, I event write some comments on repository but I don't think anything changes. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/tc39/proposal-pipeline-operator
Beta Was this translation helpful? Give feedback.
All reactions