Our great sponsors
-
Courage, though. I have heard rumour that -- if pattern-matching eventually lands -- then language support for ADTs might also be in its distant future (no pun intended) so perhaps you'll eventually get your Futures/Monads?
-
The automatic flattening of Promise> is a minor inconvenience that I faced recently when working with zx scripts (see the Real-life example section in my other article in this series). The root of the problem was that I wanted to get access to the Promise returned from an async function as zx adds methods on that Promise (and calls it a ProcessPromise) and I was unable to, since it was automatically flattened. This led me to evaluate the Promise API and see how different it is from a traditional Future monad.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.