~/talk

LIFTING DATA STRUCTURES TO THE TYPE-LEVEL

Talkat Scalar 2018 · 2018-04-06..04-07· [scala]
slides:none on file

Shows how value-level List/Set/Map lift to type-level equivalents (HList, HSet, HMap) and proves it’s practical: uses implicit-based type classes for contains on HLists, uses intersection types plus a contravariant wrapper to model HSet with deduplication, wraps elements in an invariant HLN to avoid unwanted subtyping, and uses Scala unification and singleton types to implement HMap and DAG references. Compiler prevents invalid forward/cyclic references; implicit search can be slow but the constructions compile and work.

AI-written summary · about

  1. 0:00Start
  2. 2:38Recursive Function
  3. 9:40Intersection Types
  4. 16:39Type Alias
  5. 25:22Directed Acyclic Graphs
  6. 28:06Compile Error
~/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.