~/talk

Making Risk Decisions with Haskell at Scale

Talkat ZuriHac 2025 · 2025-06-07..06-09· [haskell]
slides:none on file

Mercury converts entangled DB-driven rules into pure Haskell policy functions by representing policy inputs as gadget sum inputs and compiling environments as suspended query closures; this lets policies be run purely, property-tested, and audited while the actual SQL executes only when a caller forces a suspended field. The system uses an at-most-once evaluator based on ST to avoid IO leakage, reduces load on a 13,000+ module monolith, improves shrinking in QuickCheck, and is already deployed and reused outside risk.

AI-written summary · about

  1. 0:00Introduction & Mercury background
  2. 1:40Compliance challenges in FinTech
  3. 4:30Translating policies into Haskell code
  4. 10:15Dealing with entangled systems
  5. 17:45Enabling auditing and property-based testing
  6. 27:20Design goals of a policy engine
  7. 36:00Building small, pure, testable packages
  8. 47:00Q&A and reflections
~/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.