Abstract
Standard ML [MILN85] is an interactive, statically-typed programming language that provides support for higher-order functions, user-defined abstract types, and type-safe exceptions. The ML modules facility [MACQ85] provides the means for organizing ML programs into units, called structures.. Each structure has a well-defined interface, called its signature, that plays a role similar to that of types in the core language. Viewed statically, a program is a hierarchical arrangement of interdependent structures. Support for the dynamics of program construction is provided primarily by functors, functions from structures to structures, that provide the means of glueing structures together to form coherent units. By “coherent” we mean that the individual structures comprising the program are combined so as to share information in the intended way.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Atkinson, M.P., Chisholm, K., and Cockshott, P., PS-Algol, an Algol With a Persistent Heap, Internal Report, CSR-94–81, University of Edinburgh, Dept. of Computer Science, Edinburgh, 1981.
Albano, A., G. Ghelli, and R. Orsini, The Implementation of Galileo’s Values Persistence, Proc. of the Persistence and Data Types Workshop, Appin, Scotland, August, 1985.
Cardelli, L., and D. MacQueen, Persistence and Type Abstraction, Proc. of the Persistence and Data Types Workshop, Appin, Scotland, August, 1985.
Harper, R., Introduction to Standard ML, Computer Science Department, University of Edinburgh, September 1986.
MacQueen, D.B., Modules for Standard ML, In Polymorphism n.2, October 1985.
Milner, R., The Standard ML Core Language, in [HARP86a].
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1988 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Harper, R. (1988). Modules and Persistence in Standard ML. In: Atkinson, M.P., Buneman, P., Morrison, R. (eds) Data Types and Persistence. Topics in Information Systems. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-61556-6_2
Download citation
DOI: https://doi.org/10.1007/978-3-642-61556-6_2
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-64870-0
Online ISBN: 978-3-642-61556-6
eBook Packages: Springer Book Archive