~/talk

Literal types what they are good for

Talkat Scala Days Berlin 2018 · 2018-05-14..05-17· [scala]
slides:none on file

New syntax for Scala 2.13 exposes literal/singleton types so code can require the exact value 42 or a hard‑coded SQL fragment. The talk shows using refined to encode port ranges and regexes as types with runtime parsers from atto, and using singleton-ops plus a safe string typeclass and macros to concatenate literal strings at compile time. A prototype SQL DSL encodes schema as implicit literal‑typed columns and produces compiler errors when a selected column or type is missing.

AI-written summary · about

  1. 0:00Start
  2. 0:45Agenda
  3. 5:58Jumping from the Type Level to the Value Level
  4. 7:06Refinement Types
  5. 9:54Type Safety
  6. 13:43Concatenate Literal Types
  7. 22:39Derivation of Column Decoder
  8. 26:43How Normal Implicit Implicit Errors Works
~/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.