A type discipline for program modules

13Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The ML modules system is organized around the notions of structure, signature, and functor. A structure is an encapsulated declaration of data types and values, a signature is a “type” or specification of a structure, and a functor is a function taking structures to structures. We present a static semantics for a fragment of this system in the style of Plotkin's operational semantics. The treatment of structures and signatures has interesting parallels with the type assignment rules for ML given by Damas and Milner. In particular there is a notion of principal typing.

Cite

CITATION STYLE

APA

Harper, R., Milner, R., & Tofte, M. (1987). A type discipline for program modules. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 250 LNCS, pp. 308–319). Springer Verlag. https://doi.org/10.1007/BFb0014988

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free