Noun
A type system construct that supports ad hoc polymorphism (independent of the type hierarchy), first pioneered in Haskell.
- Examples
-
More examples (1)
A type class is defined with a trait that defines the abstraction. It can have any extension (instance) methods, as well as type-level members, meaning across instances.