Skip to content
0:00 / 0:00

#haskell#asynchronousexceptions#exceptionsafety

Async Exception Handling in Haskell

FP Block

23K subscribers • 4 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Michael Snoyman, VP of Engineering at FP Complete

Advanced. Deep dive for people who know the field.

4.1K views8 years ago1 recommendation

Programming languagesSystems programmingHaskellConcurrency and parallelism

Michael Snoyman explains how exceptions work in Haskell and provides practical guidelines for writing asynchronous exception-safe code.

Many programming languages have exceptions. In order to write programs correctly in such languages, you need to write exception-safe code. This requirement applies to Haskell as well. However, in Haskell, we have an extra twist: asynchronous exceptions, which can be thrown to any thread at any time. In this webinar, we're going to talk about: How exceptions work in Haskell What it means to be "async exception safe," Give practical guidelines—with lots of examples Hosted by: Michael Snoyman, VP of Engineering

Why it's here

1 person recommends this

What people say. Recommended as a comprehensive guide to understanding and handling asynchronous exceptions in Haskell.

u/neonphluxin r/haskell • Recommends

Async Exception Handling in Haskell - Michael Snoyman/FP Complete

u/kvantechrisin r/haskell • Mentions

On “asynchronous Exception Handling in Haskell.”

You should watch the link to this video. Here is a quote from the slides: > * Async exceptions are tricky > * They aren't nearly as terrifying as lore makes them out as > * Usually: use the right helper library, everything's good I think the video was excellent for learning why they are tricky. If you want to avoid having to deal with them he also lists some libraries in this slide.

u/andrevdm_redditin r/haskell • Mentions

On “A simple database - seeking feedback”

FP Complete did a webcast on exceptions that may help: [video And +1 for Control.Exception.Safe, its very useful