A much trickier issue with top-level bindings is that of error handling. This came up in another topic, and I’ll link to my thoughts there: How OCaml exception handling works? - #9 by cemerick
cemerick
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Do people use the top level a lot? | 9 | 1195 | April 29, 2018 | |
| Distribute ocaml binary and cma files | 23 | 1547 | August 19, 2021 | |
| About the order of definitions | 33 | 2533 | April 27, 2023 | |
| How to use a prebuilt OCaml string as an argument to Toplevel directive #use? | 12 | 1063 | January 23, 2023 | |
| Unix (Sys) lib with OCaml 4.14 | 17 | 1618 | May 4, 2022 |