Semantic Versioning in OCaml Is Hard
a day ago
- #Module System
- #OCaml
- #Semantic Versioning
- Semantic versioning in OCaml libraries is complex due to the module system.
- An example issue arises from OCaml compiler version differences affecting module APIs.
- The `to_list` function in `OpamPackage.Set` was introduced in OCaml 5.1, causing compatibility issues.
- Odoc's feature for tracking signature origins can help identify API changes across package versions.
- Building a database of API changes could enable precise version bounds for dependencies.