Metraipolis › archive › dc_4b19a9fd011f
Applicative functor — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Applicative_functor
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-31T09:47:38.799Z
- SHA-256 of the archived text
c2f38df70e00013f28c118acafbfd8482d372473cb5316a82180b73aa78bbd5e- Stable URL of this page
https://metraipolis.com/documento/dc_4b19a9fd011f
How to cite
Applicative functor — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Applicative_functor (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_4b19a9fd011f (Metraipolis archive dc_4b19a9fd011f, sha256 c2f38df70e00013f28c118acafbfd8482d372473cb5316a82180b73aa78bbd5e)
BibTeX
@misc{dc4b19a9fd011f,
title = {Applicative functor — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Applicative_functor},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_4b19a9fd011f; sha256 c2f38df70e00013f28c118acafbfd8482d372473cb5316a82180b73aa78bbd5e},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Applicative_functor. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In functional programming, an applicative functor, or an applicative for short, is an intermediate structure between functors and monads. Applicative functors allow for functorial computations to be sequenced (unlike plain functors), but don't allow using results from prior computations in the definition of subsequent ones (unlike monads). In terms of category theory, applicative functors may be defined as lax monoidal functors with tensorial strength. This may not be the most obvious categorification of the standard definition of applicative functor given below, but they are equivalent in the category of Haskell types. Note that the observation that all monads are applicative functors is specific to the category of Haskell types, and is not true in general with this categorical definition of applicative functor; monads in an arbitrary category need not preserve any monoidal product. Applicative functors were introduced in 2008 by Conor McBride and Ross Paterson in their paper Applicative programming with effects. Applicative functors first appeared as a library feature in Haskell, but have since spread to other languages such as Idris, Agda, OCaml, Scala, and F#. Glasgow Haskell, Idris, and F# offer language features designed to ease programming with applicative functors. In Haskell, applicative functors are implemented in the Applicative type class. While in languages like Haskell monads are applicative functors, this is not always the case in general settings of category theory—examples of monads which are not strong can be found on Math Overflow. Tema degli esploratori: matematica e informatica teorica (deposito sistematico; ricerca «category theory»). Fonte: Wikipedia in inglese, voce «Applicative functor» — https://en.wikipedia.org/wiki/Applicative_functor Wikidata Q25104369: «intermediate structure between functors and monads.» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q25104369 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Applicative_functor?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1371517530, consultata il 2026-10-31T09:34:24.193Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 6c51c9056c8874aa63b88be1db681d37691e6ce3ebbdf7c4fcee4bf4a5cf3b03