~/talk

Heterogeneous binary random-access lists

Talkat ICFP 2020 · 2020-08-23..08-26· [compilers-and-language-design]
links:none on file
slides:none on file

Implements heterogeneous binary random-access lists in Agda with the same HList API: nil, cons (via a cons-tree primitive) and lookup that are total and typesafe with no coercions or lemmas. Uses perfectly balanced trees indexed by depth and LSB-first binary numbers to represent shapes, giving logarithmic random access and amortized O(1) cons without rotations. Paper includes a typed lambda-evaluator example and a Haskell port of about 130 lines (≈10% pragmas) that works.

AI-written summary · about

  1. 0:00Intro
  2. 1:18Heterogeneous and efficient?
  3. 2:28This talk
  4. 2:49From lists to trees
  5. 3:41Accessing elements in a tree
  6. 5:08Binary random-access lists storing three elements
  7. 5:18Binary random-access lists storing five elements
  8. 5:38Binary numbers
  9. 6:14Random access lists
  10. 7:43Positions and lookup
  11. 8:40Adding elements
  12. 9:51Conclusions
~/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.