Proposal: Chainable do sugar

Paul Gray pfbgray at gmail.com
Fri Jan 18 02:03:06 UTC 2019


Hello friends!

I’d love to discuss the potential for syntax sugar around a popular fp
pattern, *chainables*!

I’ve written up a document here
<https://github.com/pfgray/ecma-proposal-chainable-do-syntax> with the
details.

I’ve also written a small Babel plugin that implements this. Here’s a
codesandbox <https://codesandbox.io/s/4qkl21666w> with it loaded up.

Thanks for your time!

- Paul Gray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20190117/aa683e9a/attachment.html>


More information about the es-discuss mailing list