~/talk

An introduction to recursion schemes

slides:none on file

Starts from a concrete cons list and refactors base case and step into a reusable fold → catamorphism, then generalizes by introducing a pattern functor (F) + Functor instance and a projection from the recursive type into F. Implements examples: product over lists and height of binary trees, shows the Fix (fixed‑point) encoding to remove boilerplate and discusses the tradeoff (library author vs user burden). Demonstrates exact code transformations and when each approach is preferable.

AI-written summary · about

  1. 0:00Introduction to recursion
  2. 1:45Understanding data types
  3. 5:28Structural recursion patterns
  4. 10:02Generalizing structural recursion
  5. 15:49Abstraction with pattern functors
  6. 22:16Defining catamorphisms
  7. 30:52Applying recursion schemes
  8. 36:56Boilerplate and conclusions
~/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.