top | item 46740971

(no title)

hutao | 1 month ago

I'd never heard of "resumable exceptions" before, so I searched them up [1][2]. Is this another name for the language feature called "effect handlers" in OCaml 5?

[1] https://osa1.net/posts/2024-11-04-resumable-exceptions.html

[2] https://softwareengineering.stackexchange.com/questions/8033...

discuss

order

spankalee|1 month ago

Yes, afaiu at least, effects and resumable exceptions are nearly the same, and you can implement one with the other.