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

YouTube

Rethinking Monad Transformers - A Submarine Way for Error Handling

Scala Days Conferences via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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

Reviews

Start your review of Rethinking Monad Transformers - A Submarine Way for Error Handling

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.