~/talk

A Dominion of Domains

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

Builds a composable Dominion DSL using Tagless-Final encoding and Haskell type classes, splitting card programs into four fragment languages (ints, resources, statements, predicates) and composing them with an existing Semigroup. Implements two concrete interpreters: an evaluator lifted into StateT monad transformer and a pretty-printer. Uses lenses for get/set resource access and a type-level stack of variables to model picks so predicates can reference earlier cards. Enforces constraints at compile time so many invalid card forms simply won’t compile.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Modeling card mechanics
  3. 3:03Challenges in game design
  4. 4:50The concept of DSLs
  5. 5:56Initial vs final encoding
  6. 8:29Implementing final encoding
  7. 10:38Modeling resources
  8. 12:22Enforcing constraints
  9. 15:00Composing card statements
  10. 16:43Advanced card mechanics
  11. 19:13Nested languages
  12. 22:42Final DSL structure
  13. 23:39Handling variables
  14. 25:13Type level encoding and conclusion
~/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.