@Naveen:
> If generator composition isn't directly supported somehow, then I'd have to
> say I personally find the function composition proposal more compelling on
> its own, even in the absence of a pipeline operator.
That’s all right, Naveen; thank you for reading the explainer and/or spec
If generator composition isn't directly supported somehow, then I'd have to
say I personally find the function composition proposal more compelling on
its own, even in the absence of a pipeline operator.
On Mon, 12 Mar 2018 at 05:56 Tab Atkins Jr. wrote:
> On Sun, Mar 11,
On Sun, Mar 11, 2018 at 4:44 PM, Tab Atkins Jr. wrote:
> On Sun, Mar 11, 2018 at 2:36 PM, Peter Jaszkowiak wrote:
>>> optionally preceded by `new` or `await`
>>
>> This seems very arbitrary and _not_ forwards-compatible.
>
> I agree with arbitrary, tho
Thanks again for the reply, Peter. I’m a little confused by your latest
questions, so I’ll try to clarify the questions at a time.
> > [me] To clarify: The way that bare style and topic style are distinguished
> > are not by the absence/presence of a topic reference. Bare style has a
> >
On Sun, Mar 11, 2018 at 2:36 PM, Peter Jaszkowiak wrote:
>> To clarify: The way that bare style and topic style are distinguished are
>> not by the absence/presence of a topic reference. Bare style has a simple
>> and strict syntax: any identifiers, separated by `.`s,
> To clarify: The way that bare style and topic style are distinguished are
not by the absence/presence of a topic reference. Bare style has a simple
and strict syntax: any identifiers, separated by `.`s, optionally preceded
by `new` or `await`.
So `x['hello']` would not be valid? Seems pretty
Thanks for the feedback, Peter and Naveen.
***
@Peter:
> It looks like this is different to the existing pipeline proposal in
> essentially only one way, in that it includes the # token (or lexical topic
> as you call it). I like that the proposal addresses await and other unary
> operators
Can you explain how it solves the generator / async generator aspect of the
proposal here:
https://github.com/TheNavigateur/proposal-pipeline-operator-for-function-composition
I can't seem to find an example in the explainer.
Maybe you can formulate a way of doing it, then add it in the
It looks like this is different to the existing pipeline proposal in
essentially only one way, in that it includes the `#` token (or lexical
topic as you call it). I like that the proposal addresses `await` and other
unary operators by default since it supports any expression on the
right-hand
ESDiscuss.org stripped much of the formatting from my original message. To give
the links in plain text:
Readme explainer: https://github.com/js-choi/proposal-smart-pipelines/
Formal spec: https://jschoi.org/18/es-smart-pipelines/spec
Issue tracker (please specify Proposal 4 in new issues):
10 matches
Mail list logo