.NET Rocks! cover image

Functional C# with Simon Painter

.NET Rocks!

00:00

Haskell Monads

There are many Monads that exist and most of them you probably find you don't need in C sharp. There's a monad function called a bind, which lets you do something like a select but it operates on the whole object. So if you call bind on an enumerable, then x inside your array function is the wholeobject. It's the whole enumerable in one go where you can transform it to something else. And at each point in our programming world, we're executing this function,. Maybe it works or maybe it doesn't - who knows? Who knows? Or maybe it worked and got back a null. We just execute no further functions at that point because there was

Play episode from 39:01
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app