Concept:

Higher-kinded polymorphism

Headline

Type parameters of a higher kind than "*"

Illustration

Higher-kinded polymorphism is popular in Language:Haskell with several well-known type classes being parameterized in type constructors rather than types. For instance, the following important Haskell type classes use kind "*->*":

  • Type class Functor; see the concept of functor.
  • Type class Monad; see the concept of monad.
For comparison, many popular Haskell type classes are not higher-kinded, i.e., they are parameterized in kind "*", e.g.:
  • Type class Show.
  • Type class Eq.


Ralf Lämmel edited this article at Sat, 13 Jun 2020 14:51:06 +0200
Compare revisions Compare revisions

User contributions

    This user never has never made submissions.

    User edits

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.