There's currently five "linear dataflow" proposals bouncing around TC39: the pipe operator |>
, the bind-this ::
operator, the partial function application foo~()
operator, the Extension operator ::
/:
, and the pipe()/flow() functions. @js-choi put together a wonderful diagram comparing and contrasting their functionality overlaps, along with an accompanying blogpost going over things in more detail.
My personal thoughts on the matter are that we need the Pipe operator, could use PFA and the pipe()/flow() methods, and don't need the other two.
As the diagram helpfully illustrates, the pipe operator nearly subsumes every other proposal