2 ms·
> Async isn't really the problem - the same issue pops up with error handling, with resource management There are ways to handle that, though. It's called alge
by janjones 6y ago
> Async isn't really the problem - the same issue pops up with error handling, with resource management
There are ways to handle that, though. It's called algebraic effects and they are nicely implemented in Unison language[1] (although there they're called abilities[2]). It's very interesting language; I recommend reading [3] for good overview.
[1] https://www.unisonweb.org/ https://www.unisonweb.org/
[2] https://www.unisonweb.org/docs/abilities https://www.unisonweb.org/docs/abilities
[3] https://jaredforsyth.com/posts/whats-cool-about-unison/ https://jaredforsyth.com/posts/whats-cool-about-unison/