[Next] [Previous] [Up] [Top] [Contents] [Index]

5 Types and Classes

Overview

The Dylan type system is used to categorize all objects. In concert with generic functions, types determine the behavior of objects. When an object is passed as an argument to a generic function, the generic function looks at the type of the object to determine which method should be run.

Dylan supports several kinds of types, including classes, singletons, union types, and limited types.


Dylan Reference Manual - 17 OCT 1995
[Next] [Previous] [Up] [Top] [Contents] [Index]

Generated with Harlequin WebMaker