Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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