A Type Discipline for Program Modules

Robert Harper, Robin Milner, Mads Tofte

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract / Description of output

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.
Original languageEnglish
Title of host publicationTAPSOFT '87 Vol. 2
Subtitle of host publicationProceedings of the International Joint Conference on Theory and Practice of Software Development Pisa, Italy, March 23–27, 1987
Pages308-319
Number of pages12
ISBN (Electronic)978-3-540-47717-4
DOIs
Publication statusPublished - 1987

Fingerprint

Dive into the research topics of 'A Type Discipline for Program Modules'. Together they form a unique fingerprint.

Cite this