Open dead-claudia opened 3 years ago
Despite sharing the word “pipe” in their name, the pipe operator and eventual send’s remote-object pipelines are indeed orthogonal, and they can work together.
const fileP = target
|> E(^).openDirectory(dirName)
|> E(^).openFile(fileName);
We should create a section addressing this in the pipe-operator explainer. (Anyone, please feel free to open a new issue in tc39/proposals-pipeline-operator, or I can later.)
[Edit: This will be addressed in tc39/proposal-pipeline-operator#241.]
In light of things like optional pipelining, how would this fit into that potential grid?
Not to imply it should or shouldn't be done, but I do want that potential orthogonality considered.