~/talk

Express: applications of dynamically typed Haskell expressions

Talkat Haskell Symposium 2021 · 2021-08-26..08-27· [haskell]
links:none on file
slides:none on file

The express library implements dynamically typed Haskell expressions as a wrapper around Data.Dynamic and adds pretty printing, delayed evaluation, support for variables and expression matching. It deep-encodes values as constructor applications and exposes candidate generation up to size 5 and testing (60 random tests by default). Concrete results: an equation conjecturer finds associativity/append laws in <1s; a counterexample generalizer produces patterned counterexamples; a brute-force synthesizer is implemented in ~66 lines but does not scale; refactoring two tools cuts their code by ~25%.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05What is Express
  3. 2:08Express library
  4. 3:10GHCI
  5. 4:50Heterogeneous lists
  6. 6:30Encoding variables
  7. 7:26Contradictory equations
  8. 13:07Deep encoding
  9. 14:46Generalizing counter examples
  10. 18:45Synthesising functions
~/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.