~/talk

Scale By The Bay 2018 Unconference: Joe Kachmar

Talkat Scale By The Bay 2018 · 2018-11-15..11-17· [functional-programming, testing]
links:none on file
slides:none on file

Builds a Haskell pattern that restricts effects by encoding interfaces as type classes and wiring concrete implementations into a ReaderT ReaderT app newtype so production uses real IO (HTTP manager, katip logging wired via generic lens) while tests swap in mock backends. Tests use phantom-type flags to choose instances and a list-backed logger (test scribe list) that captures log output for assertions. The approach works but gets cumbersome as the number of effects grows.

AI-written summary · about

  1. 0:00Introduction and problem
  2. 4:04Defining effect interfaces
  3. 8:19Concrete implementations and usage
  4. 13:15Mocking for testing
  5. 19:54Critique and alternatives
  6. 22:46Q&A and final thoughts
~/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.