Although this conversation is a bit stale by now, I just came across this. Since I can’t find your commit upstream in the OCaml standard library, I was wondering what your long term review of the alert is. Although I haven’t tried it in OCaml, having the compiler warn about exceptions and possibly effects is a really nice feature in Swift and Rust and improves the confidence while writing code a lot. Possibly reducing unforeseen runtime errors as well.
janvhs
16
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Am I wrong about Effects? I see them as a step back | 19 | 5032 | December 14, 2022 | |
| Poor man's static exception analysis with alerts | 21 | 2084 | June 1, 2024 | |
| Specific reason for not embracing the use of exceptions for error propagation? | 40 | 8025 | December 24, 2018 | |
| Curious about real-world uses of the effect system (other than threading) | 8 | 1042 | May 2, 2025 | |
| Talk, March 7, Effective Programming: Adding an Effect System to OCaml | 16 | 3496 | September 21, 2019 |