Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: