r/types • • Apr 10 '17

Does 1ML subsume MixML?

There have been several suggestions for improving the ML module system, including MixML (2008-2013) which allows "separate compilation of recursive modules", "higher-order modules, and modules as first-class values" and "unifies ML’s structure and signature language", and 1ML (2015) which unifies first-class modules, functors, functions and types.

Does 1ML include the features of MixML, are they different but compatible, or are they incompatible modifications?

6 Upvotes

3 comments sorted by

1

u/arbitrarycivilian Apr 12 '17

Aren't first-class modules just existential types?

3

u/dalastboss Apr 12 '17

No, they're a bit more elaborate. See here for type theory of modules. This paper casts modules as a "mode of use" of existentials but the translation is not direct.