Functional Programming and Category Theory [Part 2] – Applicative Functors

Table of Contents Introduction Motivating Example Curried Functions Applicative Functor: Structure and Computation Function “Pure” Function “Apply” Variations Putting the Pieces Together Laws Identity Law Composition Law Homomorphism Law Interchange Law Applicative Functors are Functors References Introduction In a previous … Continued

Functional Programming and Category Theory [Part 1] – Categories and Functors

Table of Contents Introduction Categories Examples The Hask Category Functors Functors in FP Functors in code Examples Introduction Category Theory is a mathematical discipline with a wide range of applications in theoretical computer science. Concepts like Category, Functor, Monad, and … Continued

1 2 3