~/talk

Introduction to Recursion Schemes

Talkat Typelevel Summit NYC 2017 · on Thursday, 2017-03-23· [functional-programming, scala]
links:none on file
slides:none on file

Argues that explicit recursion yields duplicated traversal logic and instead implements generic traversals by encoding data as a pattern functor plus a Fix+Functor abstraction, then defines reusable catamorphism/anamorphism/paramorphism/apomorphism primitives in plain Scala (no heavy language features). Shows concrete algebras/co-algebras for sum, length, range, reconstructing a list from a sum, ordered insert, and merge sort via a hylomorphism; the implementations compile and compose, and the talk points to the matryoshka library and slides for runnable code.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Exclusive Recursion
  3. 3:46Types of Recursion
  4. 4:13Kerimov System
  5. 4:42Sum Function
  6. 5:37Fold Function
  7. 7:51Subtree vs List
  8. 8:25Constructors
  9. 9:17Lists
  10. 10:24Trees
  11. 10:38Generic Fold
  12. 10:51Outputs
  13. 11:17The Problem
  14. 11:30Fix
  15. 13:01Pattern Matching
  16. 13:46Unfix Method
  17. 13:58Algebra
  18. 14:32Functor
  19. 15:47Examples of algebra
  20. 17:36Animals
  21. 18:17Co Algebra
  22. 20:20Range
  23. 20:57Unfold
  24. 21:36Para
  25. 21:52Algebras
  26. 23:56T Algebra
  27. 24:06Aapko
  28. 25:08Cosome
  29. 25:31Insert
  30. 26:29Hilarmorphisms
  31. 27:34Conclusion
~/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.