6min chapter

Happy Path Programming cover image

#75 Haskell "Not as Scary as You Think" with Kris Jenkins

Happy Path Programming

CHAPTER

Using Monads to Control the Side Effects

Monads are a way of saying I've got this context in which we could access the network, right? And take take an example of running two HTTP requests. That's obviously got the side effect of networking. So I need to deal with the fact that either of those requests may fail. The monad is the tool to make that easy from the programmer. It's almost a developer experience tool for making tracking side effects pleasant.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode