Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relationship between PFA syntax and Hack pipes #220

Closed
js-choi opened this issue Sep 18, 2021 · 0 comments · Fixed by #241
Closed

Relationship between PFA syntax and Hack pipes #220

js-choi opened this issue Sep 18, 2021 · 0 comments · Fixed by #241
Labels
documentation Improvements or additions to documentation

Comments

@js-choi
Copy link
Collaborator

js-choi commented Sep 18, 2021

People have expressed fears about Hack pipes interfering with the proposal for partial function application (PFA). The explainer should address this.

Hack pipes and PFA syntax are not mutually exclusive and can live together. Although PFA syntax has received strong pushback from many TC39 representatives since 2018 (see #221 and HISTORY.md), this has had nothing to with Hack pipes.

I myself am planning to work with @rbuckton to fight for PFA syntax in TC39 later, although it will be an uphill battle. This battle would be uphill even if we were proposing F# pipes rather than Hack pipes.

(To emphasize, it is likely than an attempt to switch from Hack pipes to F# pipes will result in TC39 never agreeing to any pipes at all; syntax for partial function application (PFA) is similarly facing an uphill battle in TC39 (see HISTORY.md). I personally think this is unfortunate, and I am willing to fight again for F# pipes and PFA syntax, later—see #202 (comment). But there are quite a few representatives (including browser-engine implementers; see HISTORY.md about this again) outside of the Pipe Champion Group who are against improving tacit programming (and PFA syntax) in general, regardless of Hack pipes.)

In any case, the explainer does not talk about this, and this is a frequently asked question. This is a deficiency of the explainer. We need to fix this sometime.

This issue tracks the fixing of this deficiency in the explainer (lack of discussion regarding TypeScript’s current limitations). Please try to keep the issue on topic (e.g., comments about how F# pipes would work better with PFA syntax would be off topic), and please try to follow the code of conduct (and report violations of others’ conduct that violates it to tc39-conduct-reports@googlegroups.com). Please also try to read CONTRIBUTING.md and How to Give Helpful Feedback. Thank you!

@js-choi js-choi added the documentation Improvements or additions to documentation label Sep 19, 2021
js-choi added a commit that referenced this issue Oct 6, 2021
With sections for PFA syntax and for eventual-send.
Closes #220. Also addresses tc39/proposal-eventual-send#23.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant