13.10 Summary

In this chapter, we covered the following:

Table 13.1 Namespace scopes.

Namespace

Scope

library

global

module

per library

constant or variable

per module

symbol or keyword

global

Table 13.2 Module roles.

Role

Example clause

interface

// Interface class
create <time>;
// Re-exported interface
use say, export: all;

client

// Substrate module
use dylan;

implementation

// Interface module
use time;

implementation and interface

// Interface protocol
export say;