We're yet to see if monoids, functors, and monads are worth it :)
For better I'd say you should look at things like virtual threads vs async/await or kotlins when vs switch expressions.
For better I'd say you should look at things like virtual threads vs async/await or kotlins when vs switch expressions.
The question is: if this support is enough or should the type system be enhanced so you can abstract over/compose a functor and/or a monad ?
The answer to this question is IMO still open.
Screw that... I should have been told sooner