
Tech Talk: Domain Driven Design meets Functional Programming
CoRecursive: Coding Stories
00:00
Can You Compose Multiple Monads?
You can use ridert to compose reader, wit someother monad. And and result is also a monad. So that's the advantage of using monad transformers - you can compose composite monads out of multiple simpler ones. After a certain time, it becomes a little more cumbersome because of e,. Because of some lack of type inferencing. But for all practical purposes, ihave found that monadtransformers come up comopese as quite a handy option.
Transcript
Play full episode