Skip to content
0:00 / 0:00

#categorytheory#haskell#settheory

Category Theory Explained for Haskell Programmers – Part 1 | Jencel Panic | ZuriHac 2026

OST – Ostschweizer Fachhochschule

3.4K subscribers • 9 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Jencel Panic

Advanced. Deep dive for people who know the field.

2K views1 month ago2 recommendations

Programming languagesComputer scienceFunctional programmingComputation and complexity

Jencel Panic introduces category theory for functional programmers, moving from sets and functions to categories, morphisms, and universal properties.

What is category theory, and why does it matter for functional programming? In Part 1, Jencel Panic builds an intuitive introduction from sets and functions to categories, morphisms, products, coproducts, and universal properties, with practical connections to Haskell throughout. Starting from basic set theory, the talk revisits familiar concepts such as subsets, singleton sets, the empty set, functions, identity functions, and function composition before gradually building toward the categorical viewpoint used throughout modern mathematics and programming language theory. A central theme is the shift from internal descriptions, which focus on elements inside sets, to external descriptions based on relationships between objects. Using diagrams and commuting diagrams, Jencel demonstrates how concepts such as composition, associativity, and isomorphism can be expressed entirely through arrows and their properties. The session explores products and coproducts, connecting mathematical definitions with practical programming concepts such as tuples, records, and the Either type in Haskell. Through universal properties, the talk shows how these structures can be characterized by the functions associated with them rather than by their internal implementation. The presentation also introduces categorical descriptions of singleton and empty sets, explaining initial and terminal objects and demonstrating how set elements themselves can be represented categorically. By the end, viewers gain a foundation for understanding categories, morphisms, identity, associativity, isomorphisms, universal properties, products, coproducts, and duality. Chapters Introduction And Motivation Set Theory Foundations Functions In Set Theory Empty Sets And Singleton Sets Hom-Sets And External Diagrams Function Composition And Engineering Commuting Diagrams Associativity Of Composition Isomorphisms And Categories Products And Tuples Universal Property Of Products Coproducts And Either Types Categorical Definitions Elements Through Morphisms Initial And Terminal Objects Applying Functions Categorically Defining Categories Categories, Types, And Morphisms About the Speaker Jencel is a writer turned programmer. They are the author of the book Category Theory Illustrated. Jencel Panic presented this talk at ZuriHac 2026, held at OST – Eastern Switzerland University of Applied Sciences in Rapperswil-Jona, Switzerland. Jencel was introduced by Farhad Mehta. ZuriHac is one of the largest community events for Haskell and functional programming and is organized by Zürich Friends of Haskell (ZFOH) together with OST. OST article: ost.ch/en/details/news/zurihac-2026-1 Zürich Friends of Haskell: zfoh.ch/ ZuriHac 2026: zfoh.ch/zurihac2026/ #ZuriHac #Haskell #functionalprogramm

Why it's here

2 people recommend this

What people say. Recommended as an intuitive introduction to category theory for Haskell and functional programmers.

u/frenche_sansin r/haskell • Recommends

Category Theory Explained for Haskell Programmers – Part 1 ZuriHac 2026

u/boris_min r/scala • Recommends

Category Theory Explained for Haskell Programmers – Part 1 | Jencel Panic | ZuriHac 2026

u/frenche_sansin r/compsci • Recommends

Category Theory Explained for Haskell Programmers – Part 1 ZuriHac 2026