2min chapter

Happy Path Programming cover image

#35 The Pattern of Design Patterns

Happy Path Programming

CHAPTER

The Use of Type Classes in the Library

type classes are the very commonly used, at least in scholar way to define those trans. So there's this whole framework set up for using transformers and I come along and I go, well, here's my stuff. And it goes, well, you can use your stuff without rewriting this whole framework. If you just provide a transfer that that smallest piece that you need to actually change. That feels like some, some new thoughts. There may be some other good use cases for type classes. Like we were talking earlier today about Zio Prelude and, and using type classes with algebraic laws and kind of a different way to define what a monad is.

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