~/talk

Peeling the Banana: Recursion Schemes from First Principles

Talkat Lambda World 2017 · 2017-10-26..10-27· [functional-programming]
slides:none on file

Derives catamorphism from primitive recursion and functor algebras, implements generic folds and unfolds in Scala, and models factorial as a hylomorphism by composing a range coalgebra with a multiply algebra (no runtime tree built). Introduces the fixed-point type Fix to represent recursive types and reduce the in/out boilerplate, shows Scala code for cata/ana, and points to Matryoshka and Haskell’s recursion-schemes as ready libraries.

AI-written summary · about

  1. 0:00Intro
  2. 1:41The kind of banana
  3. 4:16The journey
  4. 5:42Recursive data types
  5. 7:01Recursive collapse
  6. 10:21Generalized collapse
  7. 11:36Category Theory
  8. 13:49Higher Kinded Types
  9. 15:24Isomorphism
  10. 16:11Functors
  11. 17:34F-Algebras
  12. 19:02Catamorphisms
  13. 23:12Generalized building
  14. 23:55Anamorphism
  15. 25:44Generalized recursion
  16. 26:27Hylomorphism
  17. 28:23Boilerplate!
  18. 29:41Removing boilerplate
  19. 31:18Takeaways
~/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.