Appendix B. Standard Library

Table of Contents

B.1. Overview
B.2. Types and Notation
B.3. Reference
B.3.1. core.inc: Fundamental sites and operators.
B.3.2. state.inc: General-purpose supplemental data structures.
B.3.3. idioms.inc: Higher-order Orc programming idioms.
B.3.4. list.inc: Operations on lists.
B.3.5. reflect.inc: Metalanguage operations.
B.3.6. text.inc: Operations on strings.
B.3.7. time.inc: Real and logical time.
B.3.8. util.inc: Miscellaneous utility functions.

B.1. Overview

The standard library is a set of declarations implicitly available to all Orc programs. In this section we give an informal description of the standard library, including the type of each declaration and a short explanation of its use.

Orc programs are expected to rely on the host language and environment for all but the most essential sites. For example, in the Java implementation of Orc, the entire Java standard library is available to Orc programs via class declarations. Therefore the Orc standard library aims only to provide convenience for the most common Orc idioms, not the complete set of features needed for general-purpose programming.