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
20082026
-
▲ 5
Hack is dead. Long live F#story by runarberg · 2021-09-14 · 1 comment
-
There's also a Stage 2 proposal for adding a pipe operator to JS[1] [1]: https://github.com/tc39/proposal-pipeline-operator
comment by chaorace · 2021-09-14 · in Functional programming is not popular because it is weird (2016) -
…[0] https://elm-lang.org/docs/syntax#operators [1] https://hackage.haskell.org/package/flow [2] https://github.com/tc39/proposal-pipeline-operator
comment by 1-more · 2021-09-13 · in Functional programming is not popular because it is weird (2016) -
▲ 21
Hack is dead. Long live F#story by runarberg · 2021-09-13 · 4 comments
-
…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 -
▲ 4
JavaScript pipeline operator reaches stage 2story by runarberg · 2021-09-10 · 1 comment
-
▲ 1
Pipline operator proposal: Moving ahead with the minimal proposalstory by ducaale · 2020-05-04 · 0 comments
-
…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...
comment by wwwigham · 2020-02-04 · in F# Pipeline Operator in JavaScript with Babel -
▲ 1
ESNext: The Pipeline Operatorstory by MosheZada · 2019-11-15 · 0 comments
-
…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 -
…how many features are being added via the ecmascript proposal process/babel transpiration (eg: https://github.com/tc39/proposal-pipeline-operator )
comment by Octoth0rpe · 2019-09-15 · in Z – A dynamic functional programming language that compiles to JavaScript -
▲ 2
Tc39 – Proposal Pipeline Operatorstory by bryanrasmussen · 2019-08-01 · 0 comments
-
▲ 2
ESNext Proposal: The Pipeline Operatorstory by ducaale · 2019-06-15 · 0 comments
-
▲ 1
A proposal for adding the simple-but-useful pipeline operator to JavaScriptstory by pplonski86 · 2019-05-13 · 0 comments
-
…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…
comment by snek · 2019-05-04 · in Functional Programming Is on the Rise -
▲ 5
Code JavaScript with 100% programming function syntaxstory by pierreneter · 2018-11-26 · 0 comments
-
…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 -
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…
comment by dsego · 2018-07-20 · in Why We’re Building Flux, a New Data Scripting and Query Language -
…=> x % 2 === 0) |> Array.map((x) => x * 2) |> Array.reduce((acc, x) => acc + x) [0]: https://github.com/tc39/proposal-pipeline-operator
comment by pg_bot · 2018-05-24 · in ECMA TC39: “SmooshGate” was officially resolved by renaming flatten to flat -
…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 -
…). It would also be nice to have an operator like the proposed "pipeline" operator, à la F# ( https://github.com/tc39/proposal-pipeline-operator ).
comment by crabl · 2018-03-20 · in Fluent Interfaces Are Bad for Maintainability -
▲ 2
ESNext Proposal: The Pipeline Operatorstory by guifortaine · 2018-02-20 · 0 comments
-
▲ 2
tc39 pipeline operator proposal for JSstory by skellertor · 2018-02-03 · 0 comments
-
…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 -
…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 -
▲ 2
ESNext Proposal: The Pipeline Operatorstory by nozzlegear · 2017-11-15 · 0 comments
-
…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 -
….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 -
▲ 3
A proposal for adding the functional pipeline operator to JavaScriptstory by dkannan · 2017-08-04 · 0 comments
-
…(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 -
…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 -
…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 -
▲ 80
ES7 Proposal: The Pipeline Operatorstory by clessg · 2015-12-06 · 73 comments