Statements and Expressions
- Introduction
- Starting, Interrupting and Terminating
- Identifiers
- Assignment
- Boolean Values
- Coercion
- The where \(\ldots\) is Construction
- Conditional Statements and Expressions
- Error Handling Statements
- Iterative Statements
- Runtime Evaluation: the eval Expression
- Comments and Continuation
- Timing
- Types, Category Names, and Structures
Type(x): Elt → Cat
Category(x): Elt → Cat
ExtendedType(x): Elt → ECat
ExtendedCategory(x): Elt → ECat
ISA(T, U): Cat, Cat → BoolElt
ISA(T, U): Cat, ECat → BoolElt
ISA(T, U): ECat, Cat → BoolElt
ISA(T, U): ECat, ECat → BoolElt
BaseType(T): ECat → Cat
# T: ECat → RngIntElt
T[i]: ECat, RngIntElt → .
Example: Extended Type Accessors
MakeType(S): MonStgElt → Cat
ElementType(S): Str → Cat
CoveringStructure(S, T): Str, Str → Str
ExistsCoveringStructure(S, T): Str, Str → BoolElt, Str
Example: Type Structures
- Random Object Generation
- Miscellaneous