Skip to main content

Functional programming

A monad is just a monoid in the category of endofunctors

Brief​

Functional programming is an important paradigm. A lot of very good techniques have emerged from this field and have been incorporated in many languages, including C++. std::optional, std::variant, std::transform and many others are inherited1 from Functional Programming.

Going further​


  1. Notice the pun 😉↩