4 ms·
> Rust should learn from this work and skip the layering. As someone who uses Haskell professionally, 100% agree. Monad transformers are an (unfortunate) solut
by valcron1000 3y ago
> Rust should learn from this work and skip the layering.
As someone who uses Haskell professionally, 100% agree. Monad transformers are an (unfortunate) solution to the problem of stacking effects, not only due to the required lifting (to pick the appropriate handler), but due to the lack of compositionality and rough UX for the developer. Algebraic effect libraries are a lot easier to use (but I cannot speak for how easy/hard are to implement).