~/talk

Building a web library using super hard Haskell

Talkat Haskell Love 2020 · 2020-07-31..08-01· [web-platform, functional-programming]
links:none on file
slides:none on file

Builds a JWT-focused web library that replaces the usual HashMap Text Value payload with a statically described map of symbol→type pairs so keys and types are known at compile time, encodes fixed claims via FFI to C JWT code, uses type families and open-product style kinds to enforce uniqueness and forbid registered claims at compile time, applies GHC rewrite RULES to avoid copying literal keys, relies on unsafePerformIO/unsafeCoerce carefully for existentials, and ships a working library.

AI-written summary · about

  1. 0:00Intro
  2. 1:15Title
  3. 3:23What is hard Haskell
  4. 4:26Benefits of simple Haskell
  5. 7:45Scala vs Haskell
  6. 8:27Why Haskell
  7. 9:15JSON Web Token
  8. 11:26Problems with JSON
  9. 16:21Adding libraries
  10. 17:07Bindings
  11. 18:19Header files
  12. 18:39Linker errors
  13. 19:24Wrappers
  14. 19:59Writing in Haskell
  15. 21:04Wrapping by
  16. 22:29string literals
  17. 23:26gtamp simplestats
  18. 23:47Simple type classes
  19. 25:15JWTio
  20. 27:40UnsafePerformIO
  21. 29:03Type System
  22. 31:08Type System Extension
  23. 33:05Tick Symbol
  24. 33:45Type Level
  25. 35:37Teaser
  26. 37:31Mapping
  27. 40:07Implementing
  28. 41:58SaveWave
  29. 42:55Encoding
  30. 44:34Type classes
  31. 45:31Metadata
  32. 46:19Handling arbitrary products
  33. 47:22Handling custom type errors
~/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.