Support pure interface modules in libraries. #13

Merged
merged 1 commit into from Mar 23, 2013

Projects

None yet

2 participants

@paurkedal
Contributor

This commit allows an mli-file to implement a module listed in the Modules
field of a library, provided that it only includes type and signature
definitions. The mli- and cmi-files will be installed along with the
library.

Please note the change of the type of the lib_ocaml field. If this is considered part of a (semi-)public interface, we may want to be careful. If so, a suggestion is appreciated.

@paurkedal paurkedal Support pure interface modules in libraries.
This commit allows an mli-file to implement a module listed in the Modules
field of a library, provided that it only includes type and signature
definitions.  The mli- and cmi-files will be installed along with the
library.
a3743ea
@gildor478 gildor478 merged commit 63678bd into ocaml:master Mar 23, 2013
@paurkedal
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment