Strawman: `Function.prototype.try` (or `Function.try`)

dante federici c.dante.federici at
Tue Aug 22 18:47:17 UTC 2017

There exist lots of libraries that give this sort of functionality among
others in the functional community -- lots of Either or Maybe

I don't think this is a healthy addition to the spec since you would then
want to consider all the other monadic goodies like mapping over these
values, folding, "all" and "some", etc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list