~/talk

Category Theory Through Functional Programming (part 1/3)

slides:none on file

A practical walk through category theory implemented in Haskell and Scala using real code that typechecks and illustrates concepts: categories encoded as types and morphisms, GHC 8 and advanced extensions required, a monoid as a one‑object category, orders as categories, products shown as the usual product as pair type with the universal arrow and a constructive uniqueness sketch that typechecks though full equality proofs need dependent types, coproducts as sums, and the arrow functor (D -> -) given by postcomposition.

AI-written summary · about

  1. 0:00Introduction
  2. 3:13Defining category in Haskell
  3. 9:00Categories as monoids and sets
  4. 16:49Universal constructions and products
  5. 26:10Initial objects and duality
  6. 32:57Co-products and duality in Haskell
  7. 41:49Functors between categories
  8. 49:00Functors in Haskell and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.