~/talk

Algebraic Data Types

Talkat You Gotta Love Frontend 2019 · 2019-05-16..05-17· [typescript, javascript]
slides:none on file

It claims two concrete constructors: product type (and) and sum type (or). JavaScript is the tool, with a product example object composed of string number and boolean and a sum example that is string | undefined which explains a real runtime error. It shows counts — 12 different fruit-salad products and 7 fruit-snack sums — and cites corvid as the deployed platform context, arguing these patterns force explicit handling of every variant.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Purpose of types
  3. 1:45Guess the type
  4. 2:39Our brain
  5. 3:43Fruit salad
  6. 4:57Fruit snack
  7. 5:55Algebraic definition
  8. 6:57Some types
  9. 9:05JavaScript
~/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.