~/talk

Polymorphic record types in a lifted enbedding

Talkat Scala Days Berlin 2016 · 2016-06-15..06-17· [databases]
links:none on file
slides:none on file

Explains how Slick’s Scala DSL uses a Shape abstraction plus Scala implicits and functional dependencies to treat tuples, nested tuples and HLists as polymorphic record types that can be packed into and unpacked from query AST nodes. Demonstrates a minimal toy-slick implementation (no macros, simplified AST, map/filter) that builds packed reps for collection operations and shows encodeRef/toNode mechanics; literal values throw on encodeRef so pack/unpack is required. Notes that supporting SQL outer-join options adds substantial real-world complexity.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50What is Slick
  3. 4:20AST
  4. 7:48Lifted embedding
  5. 8:37Lifted representation
  6. 10:14Type R
  7. 10:59Primitive values
  8. 12:20Extension methods
  9. 13:35Tables
  10. 14:20Columns
  11. 21:04Examples
  12. 22:24Implicit example
  13. 25:44Can build from
  14. 28:27Implicit shapes
  15. 34:19Implementation
  16. 37:15Query
  17. 47:01H Lists
~/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.