Idempotency in the context of Functional programming


Idempotency in the context of Functional programming

Idempotency Study page number 1 of 1

Play TriviaQuestions Online!

or

Skip to study material about Idempotency in the context of "Functional programming"


⭐ Core Definition: Idempotency

Idempotence (UK: /ˌɪdɛmˈptəns/, US: /ˈdəm-/) is the property of certain operations in mathematics and computer science whereby they can be applied multiple times without changing the result beyond the initial application. The concept of idempotence arises in a number of places in abstract algebra (in particular, in the theory of projectors and closure operators) and functional programming (in which it is connected to the property of referential transparency).

The term was introduced by American mathematician Benjamin Peirce in 1870 in the context of elements of algebras that remain invariant when raised to a positive integer power, and literally means "(the quality of having) the same power", from idem + potence (same + power).

↓ Menu
HINT:

In this Dossier

Idempotency in the context of Semilattice

In mathematics, a join-semilattice (or upper semilattice) is a partially ordered set that has a join (a least upper bound) for any nonempty finite subset. Dually, a meet-semilattice (or lower semilattice) is a partially ordered set which has a meet (or greatest lower bound) for any nonempty finite subset. Every join-semilattice is a meet-semilattice in the inverse order and vice versa.

Semilattices can also be defined algebraically: join and meet are associative, commutative, idempotent binary operations, and any such operation induces a partial order (and the respective inverse order) such that the result of the operation for any two elements is the least upper bound (or greatest lower bound) of the elements with respect to this partial order.

View the full Wikipedia page for Semilattice
↑ Return to Menu