Encoding of Category Theory by Sjoerd Visscher in Haskell
-
Initial F-algebra (initial object in the category of F-algebras)
-
Terminal F-coalgebra (terminal object in the category of F-coalgebras)
-
Catamorphism of an F-algebra (arrow to it from the initial F-algebra)
-
Anamorphism of an F-coalgebra (arrow from it to the terminal F-coalgebra)
- Monads Made Difficult - Stephen Diehl (blog post) Category as first class concept, Functors between them, up to Monads, Kleisli Category, IO and List Monad