Rethinking Monad Transformers - A Submarine Way for Error Handling
Scala Days Conferences via YouTube
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
The Private Equity Associate Certification
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Explore an innovative "submarine" approach to error handling in Scala that seamlessly integrates arbitrary error types into the main Throwable channel within effect contexts. Learn how this technique provides functionality similar to try/catch blocks while maintaining the flexibility to handle custom error types within monadic contexts, offering a robust alternative to traditional monad transformers. Discover how implicit capabilities enable introduction and elimination of errors, creating a balance between code ergonomics, performance, and precise error control. Examine the underlying problems with current error handling approaches and understand how Scala 3's advanced features, including context functions and inline mechanisms, enable this sophisticated solution. Gain insights into practical implementation techniques that leverage static type checking while maintaining simplicity and precision in error management, particularly valuable for developers working with complex functional programming patterns in Scala applications.
Syllabus
Thanh Le: Rethinking Monad Transformers - A Submarine way for Error Handling [Scala Days 2025]
Taught by
Scala Days Conferences