~/talk

The Free and the Furious: And by 'Furious', I mean Codensity

Talkat Lambda World 2015 · on Saturday, 2015-10-24· [functional-programming]
name:raichoo
links:none on file
slides:none on file

Shows that using Codensity on Free Monads converts left‑nested binds into right‑associated continuations and yields huge speedups: reversing 10,000 chars drops from ~71s to ~0.7s, a free‑monad list example drops from 145s to ~80ms, and a 20,000 countdown using lists goes from 18s to 20ms by switching to DList. The key tool is the improve/lowering combinator (continuation‑passing), implemented in Haskell; code and benchmarks are on the linked GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 1:48Reddit thread
  3. 6:35Outline
  4. 8:52Motivation example
  5. 12:37Model
  6. 17:20Results
  7. 17:54Freeness
  8. 25:16Great Scott
  9. 26:02The Problem
  10. 28:11Monitor Loss
  11. 29:45Codensity
  12. 31:12Implementations
  13. 34:09Solution
  14. 34:30Teletype
  15. 36:23GetChar
  16. 37:16Improve
  17. 39:08Devious Package
~/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.