Home My Page Projects Dose: library and tools
Summary Activity Tracker Lists SCM Files

[#18454] Dose library: module named "Common" causes clashes

Date:
2015-01-19 05:03
Priority:
3
State:
Open
Submitted by:
Louis Gesbert (altgr)
Assigned to:
Nobody (None)
Summary:
Dose library: module named "Common" causes clashes

Detailed description
Dose exports a "Common" module in the global namespace which is likely to cause clashes, with Ctypes in the case of https://github.com/ocaml/opam/issues/1931

Until proper namespace support is included into OCaml, the currently available solutions include prefixing module names with "Dose", using module packs, and module aliasing (OCaml 4.02, as described at https://blogs.janestreet.com/better-namespaces-through-module-aliases/ or in this video (french) https://www.irill.org/videos/oups-december-2014/Namespace/)
All these solutions will break the current API though.

No Comments Have Been Posted

No Changes Have Been Made to This Item