#category-theory

[ follow ]
Alvinalexander
4 months ago
Scala

Eugenio Moggi, monads, and functional programming

Moggi's work on monads introduced a foundational concept for functional programming.
Monads provide a way to structure and control computational effects in a pure and compositional way. [ more ]
Medium
4 months ago
Scala

Functional Containers Summary: Functor vs Applicative vs Monad

Functors represent mapping between categories, can be viewed as util class for mapping over values, prevalent in functional languages like Scala and Haskell.
Applicatives generalize Functors, operate not just on values but also on functions within a context, less powerful than Monads but more versatile. [ more ]
Medium
4 months ago
Scala

Functional Containers Summary: Functor vs Applicative vs Monad

Functor represents the mapping between two categories in category theory
Applicative is a concept that generalizes a Functor by allowing for operations on functions within a context [ more ]
[ Load more ]