~/talk

Contract First, Session Types Later!

Talkat Scalar 2016 · on Saturday, 2016-04-16· [scala, api-design]
links:none on file
links:none on file
slides:none on file

Claim: REST APIs can carry resource state machines but session types don’t map cleanly yet. Implementation uses Play-Swagger and a custom extension that extended Swagger with resource state machines and a Scala library using typeclass CPS session types in Scala to encode in/out/stop as duals. The compiler rejects invalid state transitions and misaligned sends, giving compile-time enforcement of state transitions, but choice/branching cannot be encoded, so full session-type safety for hypermedia remains unsolved.

AI-written summary · about

  1. 0:00Introduction
  2. 2:54Single Source of Truth
  3. 4:29Stateless Communication
  4. 12:00Session Types
  5. 13:17State Analyzer
  6. 21:21Questions
~/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.