3 ms·
> AFAIK almost no libraries are written with the expectation that their computations might be interrupted at any time by another thread. Haskell libraries are
by whateveracct 2y ago
> AFAIK almost no libraries are written with the expectation that their computations might be interrupted at any time by another thread.
Haskell libraries are written this way all the time. Exception-safe libraries with async-aware handling are pretty commonplace nowadays (partially thanks to safe-exceptions and unsafeio providing a nice API to deal with them.)