Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Monad Transformers Down to Earth

Scala Days Conferences via YouTube

Overview

Dive into the world of monad transformers in this 47-minute conference talk from Scala Days Copenhagen 2017. Explore the concept, origins, and effective usage of monad transformers through real-life examples. Learn how to make your code more readable, maintainable, and pleasant to work with. Discover the role of monad transformers in solving "effect stacking" and gain insights into alternative solutions. Navigate through topics such as category theory, functors, futures, flatmap options, and generalization. Examine practical scenarios like user management and error handling using Either types. Gain personal tips, understand potential pitfalls, and explore other related concepts like Free Monads. Be prepared for a deep dive into functional programming concepts, with a touch of humor to lighten the complexity of the subject matter.

Syllabus

Introduction
About this talk
About the question
The reasonable answer
Category theory
Functor
Future
WeCats
Cats
Lists
Flatmap
OptionT
Generalization
Metaphors
GetUser
Making the types fit
Helpers
Recap
User exists
Code dates
Future of none
Details errors
Either
MyErrorCase
Not a silver bullet
Personal tips
Tragic Example
Keep them for yourself
Memory footprint
Local optimization
Other takeaways
Free Mona
F
Questions

Taught by

Scala Days Conferences

Reviews

Start your review of Monad Transformers Down to Earth

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.