This is something I’m really interested in, because it seems like a genuine problem that comes up quite often. How hard would it be to take, for example, the Map module in Stdlib, and make an additional Map.Internals module that has full access to the internals of the Map and is also fully compatible with the regular Map interface?
bluddy
35
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Has there been a syntax proposed for combining .mli into .ml? | 27 | 1578 | September 3, 2024 | |
| At what point do you start writing an .mli file? | 26 | 5012 | October 25, 2020 | |
| De-duplicating module signatures that depend on abstract data types | 11 | 3401 | May 24, 2019 | |
| Future of `.mli` only module setups? | 14 | 3866 | October 26, 2017 | |
| Sorry, not getting it with mli | 29 | 1382 | July 9, 2024 |