~/talk

How to design co-programs

Talkat Haskell Love 2020 · 2020-07-31..08-01· [functional-programming]
slides:none on file

Argues that program structure follows not only input but also output data structures, promoting structural corecursion (unfolds) alongside recursion; shows zip reduced from three cases to two by analyzing the output, and decomposes quicksort into build then flatten (grow a tree then flatten it), explaining deforestation that recovers the standard formulation. Uses Haskell notation, Maybe, lists and trees, hydromorphisms and metamorphisms as tools, and notes the approach works in eager languages too provided co-recursions terminate.

AI-written summary · about

  1. 0:00Intro
  2. 1:18Protocol
  3. 2:15Where do programs come from?
  4. 5:19Program structure follows data structure
  5. 9:21But this is only half the story
  6. 12:19Mixed data: Enumerate the alternatives
  7. 17:13Sorting by structural corecursion
  8. 25:425. Generative recursion
  9. 26:19Ecamples of generative recursion
  10. 30:15Combining structural recursion and carecursion
  11. 37:28Separation of concerns
  12. 40:32A learning opportunity
  13. 43:38Laziness
  14. 46:00On Teaching HIDP
  15. 47:00Structured programming
  16. 48:39Conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.