~/talk

Embedded Pattern Matching

Talkat Haskell Symposium 2022 · 2022-09-15..09-16· [haskell, embedded-and-hardware]
links:none on file
links:none on file
slides:none on file

Presents a concrete technique that lets host-language pattern matching produce embedded-language case expressions by representing user ADTs as a sum-of-products representation (nested pairs), providing bi-directional pattern synonyms as builders and matchers, and running the match body twice via a staging match function that extracts each RHS. Implements this in Accelerate-style embeddings, handles Maybe/Point examples, automates matcher generation, and ships working prototypes and artifacts on GitHub.

AI-written summary · about

  1. 0:00The problem of embedded DSLs
  2. 4:08Limitations of current methods
  3. 8:54Representing data types
  4. 13:03Leveraging pattern synonyms
  5. 15:24Solving the staging problem
~/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.