A monad is a triple where:

  • is an endofunctor
  • (unit)
  • (multiplication)

Satisfying:

  1. Associativity:
  2. Unit:

See also