Chapter 4. A tour through the standard library
This chapter covers
- Understanding the standard library
- Examining modules in depth
- Getting to know the modules in Nim’s standard library
- Using Nim’s standard library modules
Every programming language supports the notion of a library. A library is a collection of prewritten software that implements a set of behaviors. These behaviors can be accessed by other libraries or applications via a library-defined interface.
For example, a music-playback library such as libogg might define play and stop procedures that start music playing and stop it. The libogg library’s interface can be said to consist of those two procedures.
A library such as libogg can be reused by multiple applications, so ...