~/talk

Reflecting on Random Generation

Talkat ICFP 2023 · 2023-09-04..09-09· [testing]
links:none on file
links:none on file
slides:none on file

Presents reflective generators that combine free generators + partial monadic profunctors so a generator can run “backwards” to recover random choices that could produce a value. Implements interpretations on top of Freer/QuickCheck Gen, adds lmap/prune annotations (often lenses/prisms), and converts a BST generator to reflect, check, and extract a choice trace. Demonstrates choice-based shrinking, example-based reweighting (Inputs from Hell extension), and property tests for soundness/completeness; prototypes succeed on BST examples and related demos, artifacts available.

AI-written summary · about

  1. 0:00Free generators intro
  2. 2:05Bidirectional programs & profunctors
  3. 8:21Combining generators & logic
  4. 12:16Reflective generators intro
  5. 18:54Correctness & limits
  6. 22:03Q&A
~/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.