~/talk

Expressing Types as Values with Scalaz-Schema

Talkat LambdaConf 2019 · 2019-06-05..06-07· [typescript]
links:none on file
slides:none on file

Scalaz-Schema presents a concrete Schema datatype that expresses ADTs as values and derives encoders like a JSON serializer without relying on compiler-driven implicit derivation (Shapeless Magnolia Scalaz-Deriving). It uses isomorphisms, recursion schemes, and a prim/type-level representation to enforce valid shapes at compile time, already produces working encoders for nested products sums and recursion, and outlines module support for Searcy and JSON4s plus a prototype for schema migrations.

AI-written summary · about

  1. 0:00Start
  2. 1:12Encoders & Decoders
  3. 8:42Schema Datatype - The Function
  4. 10:13Schema Datatype - Primitives
  5. 12:19Products & Sums
  6. 13:32Schema Datatype - Product and Sums
  7. 14:47Schema Datatype Wrapping Schemas
  8. 17:20Schema Datatype - Fields/Branches
  9. 18:15Schema Datatype - Lists
  10. 18:56Schema Datatype - Recursion
  11. 19:34Round 1 Done! But there's still some problems
  12. 20:31Option Schemas
  13. 22:16Modules - Base SchemaModule
  14. 24:07Modules-The JSON Module
  15. 24:55Employee ADT
  16. 26:45Solution Approach
  17. 29:36Recursion Schemes - TL;DR
  18. 32:14Interpreters JSON Module
  19. 33:07Using Interpreters
  20. 34:15Future Plans
  21. 35:56The SchemaZ Team
~/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.