Hacker GitHub

← All repos

tc39/proposal-pipeline-operator

View on GitHub ↗ ★ 7,918 HTML

A proposal for adding a useful pipe operator to JavaScript.

84 mentions on Hacker News by 69 people: 19 stories, 65 comments · first 2015-12-06 · latest 2026-10-16

Mentions per year 84 mentions · busiest year 2021 (16)
20082026
  1. ▲ 5
    Hack is dead. Long live F#
    story by runarberg · 2021-09-14 · 1 comment
  2. There's also a Stage 2 proposal for adding a pipe operator to JS[1] [1]: https://github.com/tc39/proposal-pipeline-operator
  3. …[0] https://elm-lang.org/docs/syntax#operators [1] https://hackage.haskell.org/package/flow [2] https://github.com/tc39/proposal-pipeline-operator
  4. ▲ 21
    Hack is dead. Long live F#
    story by runarberg · 2021-09-13 · 4 comments
  5. …committee went behind the community to make an executive decision based on their own believes. 1: https://github.com/tc39/proposal-pipeline-operator/issues/16...
    comment by runarberg · 2021-09-10 · in JavaScript pipeline operator reaches stage 2
  6. ▲ 4
    JavaScript pipeline operator reaches stage 2
    story by runarberg · 2021-09-10 · 1 comment
  7. ▲ 1
    Pipline operator proposal: Moving ahead with the minimal proposal
    story by ducaale · 2020-05-04 · 0 comments
  8. …a simple "left operand becomes first argument in call to right operand" is all I'd really want. [1] https://github.com/tc39/proposal-pipeline-operator [2] https://github.com/tc39/notes/blob/master/meetings/2018-03/m...
  9. ▲ 1
    ESNext: The Pipeline Operator
    story by MosheZada · 2019-11-15 · 0 comments
  10. …agree, there should be a pipeline operator |> like F# has. A similar proposal has been made for JS. https://github.com/tc39/proposal-pipeline-operator > Too many other weirdo bits of magic syntax, like [list comprehensions]. List…
    comment by j88439h84 · 2019-10-12 · in Python is not a great programming language
  11. …how many features are being added via the ecmascript proposal process/babel transpiration (eg: https://github.com/tc39/proposal-pipeline-operator )
  12. ▲ 2
    Tc39 – Proposal Pipeline Operator
    story by bryanrasmussen · 2019-08-01 · 0 comments
  13. I guess it's because of potential ambiguity, it's discussed here: https://github.com/tc39/proposal-pipeline-operator/issues/14...
    comment by kristiandupont · 2019-07-07 · in Babel 7.5
  14. ▲ 2
    ESNext Proposal: The Pipeline Operator
    story by ducaale · 2019-06-15 · 0 comments
  15. ▲ 1
    A proposal for adding the simple-but-useful pipeline operator to JavaScript
    story by pplonski86 · 2019-05-13 · 0 comments
  16. …it doesn't really try to stick to a specific paradigm. There is even a proposal to add pipielines: https://github.com/tc39/proposal-pipeline-operator . Personally, I think forcing yourself to a specific paradigm is a waste of energy. I've…
  17. ▲ 5
    Code JavaScript with 100% programming function syntax
    story by pierreneter · 2018-11-26 · 0 comments
  18. …similar chaining patterns on subjects that are not arrays, as shown in the proposal’s README: https://github.com/tc39/proposal-pipeline-operator/blob/mast...
    comment by mbostock · 2018-11-08 · in The JavaScript Pipeline Operator
  19. What's wrong with a pipeline operator? JS is getting one as well. https://github.com/tc39/proposal-pipeline-operator Chaining calls in JS means that a function returns the original object, piping is actually passing over the result as an…
  20. …=> x % 2 === 0) |> Array.map((x) => x * 2) |> Array.reduce((acc, x) => acc + x) [0]: https://github.com/tc39/proposal-pipeline-operator
  21. …Operator Stage 1 proposal is currently the closest proposal to making something like that happen: https://github.com/tc39/proposal-pipeline-operator [1] Stage 1 Proposal: https://github.com/gsathya/proposal-slice-notation/
    comment by WorldMaker · 2018-05-16 · in JavaScript is Good, Actually
  22. …). It would also be nice to have an operator like the proposed "pipeline" operator, à la F# ( https://github.com/tc39/proposal-pipeline-operator ).
  23. ▲ 2
    ESNext Proposal: The Pipeline Operator
    story by guifortaine · 2018-02-20 · 0 comments
  24. ▲ 2
    tc39 pipeline operator proposal for JS
    story by skellertor · 2018-02-03 · 0 comments
  25. …square) Compared to the operator: 2 |> $ => Math.pow(5, $) |> square So no disadvantage at all. [0] https://github.com/tc39/proposal-pipeline-operator#user-cont...
    comment by djedr · 2018-01-20 · in JS things I didn’t know existed
  26. …really impressive. Checkout the pipeline operator: https://github.com/babel/proposals/issues/29 ( https://github.com/tc39/proposal-pipeline-operator ) That's some cutting-edge stuff. I wouldn't want to use it until it was official, but…
    comment by git-pull · 2017-12-28 · in Nearing the Babel 7.0 Release
  27. ▲ 2
    ESNext Proposal: The Pipeline Operator
    story by nozzlegear · 2017-11-15 · 0 comments
  28. …There's actually a proposal for a pipeline operator in JS that I personally really like: https://github.com/tc39/proposal-pipeline-operator I have no idea if it's getting enough traction to get standardized anytime soon though. In lieu of…
    comment by lewisl9029 · 2017-11-02 · in Closh – Bash-like shell based on Clojure
  29. ….value(); It's no less readable than the code you'd write using using unfolded transformations. 1. https://github.com/tc39/proposal-pipeline-operator
    comment by splintercell · 2017-09-21 · in Folding Promises in JavaScript
  30. ▲ 3
    A proposal for adding the functional pipeline operator to JavaScript
    story by dkannan · 2017-08-04 · 0 comments
  31. …(chaining of regular functions) would be so much better to program with. We don't need both. https://github.com/mindeavor/es-pipeline-operator
    comment by boubiyeah · 2016-12-04 · in ECMAScript bind operator proposal
  32. …more interesting solution for this instead of adding syntax that relies on the `this` keyword? [1] https://github.com/mindeavor/es-pipeline-operator
    comment by sebdd · 2016-12-03 · in ECMAScript bind operator proposal
  33. …100; }) |> custom The linked page has a nice example and explanation about this concerning promises https://github.com/mindeavor/es-pipeline-operator#sample-usa...
    comment by abrezas · 2015-12-06 · in ES7 Proposal: The Pipeline Operator
  34. ▲ 80
    ES7 Proposal: The Pipeline Operator
    story by clessg · 2015-12-06 · 73 comments