next up previous
Next: Declarations Up: The IBAL User Manual Previous: Types


Patterns

A pattern is a template that accepts a set of values. Those values are all of a certain type, the type of the pattern. IBAL provides the following kinds of patterns.

A set of patterns of the same type is called exhaustive if every value of that type is accepted by at least one of the patterns.


next up previous
Next: Declarations Up: The IBAL User Manual Previous: Types
Avi Pfeffer 2006-11-19