~/talk

Be Like Water — A Shapeless Primer

Talkat Scala Italy 2016 · on Saturday, 2016-05-14· [scala]
slides:none on file

Problem is building data‑flow nodes that accept functions of arbitrary arity; solution uses Scala plus shapeless to represent inputs as HList and convert between products, tuples and functions with Generic and fnToProduct. Implicits act as compile‑time predicates so nodes accept any matching function without code generation or runtime reflection. The implementation compiles when types align and fails at compile time otherwise, proving the approach works for flexible, type‑safe pipeline nodes.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50Data flow programming
  3. 7:16Why Shapeless
  4. 10:12Heterogeneous lists
  5. 14:30Generic conversions
  6. 22:00Implicits as logic
  7. 31:39Logic Scala demo
  8. 34:54Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.