Jump to content

typeclass

From Wiktionary, the free dictionary

English

[edit]

Etymology

[edit]

From type +‎ class.

Noun

[edit]

typeclass (plural typeclasses)

  1. Alternative spelling of type class
    • 2021, Martin Odersky et al., chapter 23, in Programming in Scala, 5th edition, Artima, →ISBN:
      As mentioned in Section 21.4, typeclasses support ad hoc polymorphism, which means that functions can be used with a particular, enumerated set of types.

Usage notes

[edit]

Sometimes used to avoid confusion with the more general class concept in object-oriented programming.