Chapter 4. Declarations

4.1. val: Bind Value
4.2. def: Define Function
4.3. def class: Define Site in Orc
4.4. import site: Import Site
4.5. import class: Import Class from Java
4.6. type: Declare Type
4.7. include: Include Orc File

A declaration binds variables to values, or type variables to types, in an expression. The values may be as simple as integers or booleans, or as complex as functions, sites, or classes. Declarations follow the rules of lexical scoping.