3 ms·
Not the parent, but presumably it would allow for fancy monad stuff like Scala's Cats Effects[0] and Zio[1] which can make async programming easier to follow wi
by emptysea 5y ago
Not the parent, but presumably it would allow for fancy monad stuff like Scala's Cats Effects[0] and Zio[1] which can make async programming easier to follow without having to introduce async/await
[0]: https://typelevel.org/cats-effect/ https://typelevel.org/cats-effect/
[1]: https://zio.dev https://zio.dev
- kaba0 5y agoFor the async use-case, “native do notation” will be superior in the form of Loom, that will transform virtual thread calls to non-blocking concurrency. As for others, without proper Monads, I doubt they would have much use.