type class


type class

A set of types for which certain operations or methods aredefined. E.g. the class Number might have methods for additionand subtraction. Classes are a feature of object oriented languages and of the functional programming languageHaskell. See also inheritance.