There is a problem with the documentation for version v5.0.0 - it lies at least 10 times. The problem is the signature of TomlTypes.Table, generated with the Stdlib's Map.Make that has changed many times since OCaml 4.02. Since there's not a *.mli file, the incompatibility is only noticed when you try to access the API. Below there's a list of functions from Map.S (the result of Map.Make) and whey they were introduced:
I bumped the minimal OCaml version to 4.07, so it isn't lying anymore except on filter_map which was added in OCaml 4.11. That's good enough so I'm closing.
Hi there,
There is a problem with the documentation for version
v5.0.0
- it lies at least 10 times. The problem is the signature ofTomlTypes.Table
, generated with the Stdlib'sMap.Make
that has changed many times since OCaml 4.02. Since there's not a*.mli
file, the incompatibility is only noticed when you try to access the API. Below there's a list of functions fromMap.S
(the result ofMap.Make
) and whey they were introduced:Since 4.03.0
Since 4.05.0:
Since 4.06.0: