~/talk

Scale By The Bay 2018 Unconference: Sergei Winitzki

slides:none on file

A Scala macro library generates concrete implementations from polymorphic type signatures by translating types into logic, running an LJT proof search to build lambda-term proofs, and emitting Scala code; it ranks alternatives with an information-loss scoring heuristic so it prefers implementations that use more inputs. It supports products, coproducts and function types, attaches a symbolic lambda-term AST for law verification at runtime, runs at compile time, and explicitly does not infer recursion or type-class operations like monads.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Generating code from types
  3. 2:36Macro implementation demo
  4. 4:22Type signature examples
  5. 14:43Theory behind the algorithm
  6. 20:03Proof search in intuitionistic logic
  7. 26:52Code generation from proofs
  8. 31:35Generating type class instances
  9. 39:50Automatic derivation limits
~/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.