~/talk

Idris for (im)practical Scala programmers

Talkat Lambda Days 2018 · 2018-02-22..02-23· [typescript]
links:none on file
slides:none on file

Claims that Idris-style value-dependent types can be approximated in Scala by encoding: implicit search, phantom types, and type-level encodings of naturals and fin. Demonstrations recreate length-indexed vectors, fin-to-N conversions and format-string-style dependent functions using implicits and macros. The tools actually used are lambda-cube reasoning, pure-type-system ideas, Scala implicit resolution and macros. It works for compile-time-constant indices and format literals but breaks when values are truly runtime (loss of singleton/type preservation).

AI-written summary · about

  1. 0:00Start
  2. 3:41Relating abstractions
  3. 10:20System F examples
  4. 13:37System Fw - examples
  5. 17:10Idris vs Scala
  6. 33:20Questions?
  7. 36:35type - Scala examples
  8. 38:07Scala vs Idris
~/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.