Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Pipeline Operator (Stage 1) #29
let result = "hello" |> doubleSay |> capitalize |> exclaim; result //=> "Hello, hello!"
let result = exclaim(capitalize(doubleSay("hello"))); result //=> "Hello, hello!"
Initial Implementation (would need updating to v7)
This was referenced
Sep 27, 2017
referenced this issue
Oct 3, 2017
@littledan We're working in parallel on a configuration option for two proposals: F# Pipelines & Smart Pipelines. @js-choi is currently working on the babylon changes required to parse the Smart Pipelines, behind a
As part of this work, I'll be submitting a PR to the pipeline proposal itself to update the spec to remove any current handling of
Once the parser changes are complete, we'll then be updating the babel pipeline plugin with a configuration options for these proposals. I don't think we've specified what that flag is just yet, but the intention is to have three "modes":
I'll also eventually be writing up a spec & explainer for F# pipelines. The current spec & explainer for smart pipelines is here: https://github.com/js-choi/proposal-smart-pipelines
@danielo515 The minimal proposal is in babel right now, but the rest of what I explained is still in progress. Past 2 months have been busy for both JS Choi & me, so we haven't made as much progress as we'd like.
Also, the plan has changed from what was described above; we're going to add all those flags in a fork of
Couple updates I want to drop in here:
I'll be working on point 2 ASAP, as that needs to land before babel 7 leaves beta.