~/talk

Analyzing Functional Programs

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [functional-programming]
links:none on file
slides:none on file

Shows how Tagless Final and the Free Monad let business logic stay effect-agnostic while enabling concrete interpreters: a synchronous in-memory test interpreter, a Scalacheck Gen interpreter that generates random outputs, and a writerT tracing interpreter that records every repo operation. Uses Scala pet store domain, composes interpreters via foldMap, and runs random walks through the program to find surprising behaviors (example: asserts update-status never issues delete). Examples compile into Gen values and the tests successfully catch injected failures.

AI-written summary · about

  1. 0:00Introduction
  2. 0:28Abstraction
  3. 1:56Tagless Final
  4. 4:18Production Interpreter
  5. 5:27Test Interpreter
  6. 7:23Generating Programs
  7. 10:11Tracing
  8. 10:56Tracing Interpreter
  9. 12:59Code Properties
  10. 17:10FreeMonad
  11. 18:12Inject
  12. 19:44Generating Interpreter
  13. 21:21Tracing with Free
~/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.