The Standard ML Basis Library


Introduction

These web pages contain the interface specifications for the modules of the SML Basis Library, which is a standard library for the 1997 Revision of SML[CITE]. The SML Basis Library provides interfaces and operations for basic types, such as integers and strings, support for input and output (I/O), interfaces to basic operating system interfaces, and support for standard datatypes, such as options and lists. The Library does not attempt to define higher-level APIs, such as collection types or graphical user-interface components. These APIs are left for other libraries.

This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy. The SML Basis Library is also published as a book by Cambridge University Press. In addition to the manual pages, the book also contains tutorial descriptions of programming techniques and idioms for effective use of the Library's interfaces.

The design philosophy of the SML Basis Library is to use the SML module system as an organizing tool. All type, exception, and value identifiers are bound in some module. A small number of these, which are called pervasive identifiers, are also bound at top-level (i.e., without qualification). In addition, the top-level environment defines overloading of some identifiers.

The components (i.e., signatures, structures, and functors) of the SML Basis Library are divided into required and optional components. Required components must be provided by all SML implementations, while optional components are just that. In some cases, support for one optional component entails providing support for others.

These webpages are organized as follows: the overview page describes the different kinds of interfaces provided by the SML Basis Library as well as which components are required and optional. The bulk of this document is a collection of manual pages, each of which describes an interface (i.e., signature) and its implementations.

SML Basis Library Overview

Top-level Environment

SML Basis Manual Pages

Contributors

Change history


[ Top | Parent | Contents | Index | Root ]

Generated April 12, 2004
Last Modified June 6, 2002
Comments to John Reppy.


This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.

Copyright © 2004 AT&T and Lucent Technologies. All rights reserved.

Permission is granted for internet users to make one paper copy for their own personal use. Further hardcopy reproduction is strictly prohibited. Permission to distribute the HTML document electronically on any medium other than the internet must be requested from the copyright holders by contacting the editors. Printed versions of the SML Basis Manual are available from Cambridge University Press. To order, please visit www.cup.org (North America) or www.cup.cam.ac.uk (outside North America).