
#7 Why Adopt New Technology? And Monads! Monads! Monads!
Happy Path Programming
00:00
How to Nest With Monads
You can't do that style of chaining with monads because the way that you chain monads is through flat map. In, in the Java style that you're talking about, you're not calling things that take functions,. You're just calling methods on, on a thing. And so you can do chaining. But it seems like if each one of those returns, you know, a package of information, then the next one could accept that and do something useful with it. Maybe not as nicely as what you'retalking about, but it still could.
Transcript
Play full episode