~/talk

Servant: Web APIs at the Type Level

Talkat NDC Oslo 2017 · 2017-06-14..06-16· [haskell, api-design]
slides:none on file

Servant is a Haskell type-level DSL that turns an API type into working artifacts: a server whose handlers only see validated values, an automatically derived Swagger/OpenAPI spec, and generated client code for JavaScript, TypeScript, Elm and more. The framework handles content negotiation and request decoding so invalid bodies become 400 responses before handlers run, can check internal URIs, supports QuickCheck request generation, and is useful just for producing correct client decoders even when the server isn’t written in Haskell.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00What is Servant
  3. 7:00Servant Language
  4. 12:48Server
  5. 15:30Handling errors
  6. 16:30Documentation
  7. 17:34Client Functions
~/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.