A set of types for which certain operations or methods are defined.
E.g. the class Number might have methods for addition and subtraction.
Classes are a feature of object oriented languages and of the functional programming language Haskell.
See also inheritance.
|< Previous Terms||Terms Containing type class||Next Terms >|
Haskell User's Gofer System