type class

Hello, you have come here looking for the meaning of the word type class. In DICTIOUS you will not only get to know all the dictionary meanings for the word type class, but we will also tell you about its etymology, its characteristics and you will know how to say type class in singular and plural. Everything you need to know about the word type class you have here. The definition of the word type class will help you to be more precise and correct when speaking or writing your texts. Knowing the definition oftype class, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

English

Alternative forms

Noun

type class (plural type classes)

  1. (programming) A type system construct that supports ad hoc polymorphism (independent of the type hierarchy), first pioneered in Haskell.
    • 2021, Dean Wampler, chapter 5, in Programming Scala, 3rd edition, O'Reilly, →ISBN:
      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.

Further reading